Skip to content

Commit b7105e8

Browse files
ENGCOM-6066: Cast changelogBatchSize to int #24975
- Merge Pull Request #24975 from JeroenVanLeusden/magento2:JeroenVanLeusden-patch-4 - Merged commits: 1. f7eecc4
2 parents c60cf10 + f7eecc4 commit b7105e8

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)