Skip to content

Commit c67fa3e

Browse files
ENGCOM-6066: Cast changelogBatchSize to int #24975
2 parents f5a26e1 + b7105e8 commit c67fa3e

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Mview

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Mview/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private function executeAction(ActionInterface $action, int $lastVersionId, int
293293
{
294294
$versionBatchSize = self::$maxVersionQueryBatch;
295295
$batchSize = isset($this->changelogBatchSize[$this->getChangelog()->getViewId()])
296-
? $this->changelogBatchSize[$this->getChangelog()->getViewId()]
296+
? (int) $this->changelogBatchSize[$this->getChangelog()->getViewId()]
297297
: self::DEFAULT_BATCH_SIZE;
298298

299299
for ($vsFrom = $lastVersionId; $vsFrom < $currentVersionId; $vsFrom += $versionBatchSize) {

0 commit comments

Comments
 (0)