We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b21a60 commit f18a9afCopy full SHA for f18a9af
lib/internal/Magento/Framework/DB/FieldDataConverter.php
@@ -128,7 +128,7 @@ private function getBatchSize()
128
{
129
if (null !== $this->envBatchSize) {
130
$batchSize = (int) $this->envBatchSize;
131
- if (bccomp($batchSize, PHP_INT_MAX, 0) === 1 || $batchSize < 1) {
+ if (bccomp($batchSize, PHP_INT_MAX, 0) >= 0 || $batchSize < 1) {
132
throw new \InvalidArgumentException(
133
'Invalid value for environment variable ' . self::BATCH_SIZE_VARIABLE_NAME . '. '
134
. 'Should be integer, >= 1 and < value of PHP_INT_MAX'
0 commit comments