Skip to content

Commit f7eecc4

Browse files
author
Jeroen
authored
Cast changelogBatchSize to int
1 parent 0714971 commit f7eecc4

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)