Skip to content

Commit 4b21a60

Browse files
committed
MC-33069: Stabilize Unit tests
1 parent e1a46d9 commit 4b21a60

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/internal/Magento/Framework/DB/FieldDataConverter.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ class FieldDataConverter
2121
*/
2222
const BATCH_SIZE_VARIABLE_NAME = 'DATA_CONVERTER_BATCH_SIZE';
2323

24-
/**
25-
* Default batch size
26-
*/
2724
const DEFAULT_BATCH_SIZE = 50000;
2825

2926
/**
@@ -131,7 +128,7 @@ private function getBatchSize()
131128
{
132129
if (null !== $this->envBatchSize) {
133130
$batchSize = (int) $this->envBatchSize;
134-
if (bccomp($this->envBatchSize, PHP_INT_MAX, 0) === 1 || $batchSize < 1) {
131+
if (bccomp($batchSize, PHP_INT_MAX, 0) === 1 || $batchSize < 1) {
135132
throw new \InvalidArgumentException(
136133
'Invalid value for environment variable ' . self::BATCH_SIZE_VARIABLE_NAME . '. '
137134
. 'Should be integer, >= 1 and < value of PHP_INT_MAX'

0 commit comments

Comments
 (0)