Skip to content

Commit 900f716

Browse files
author
Mark Hodge
committed
getList already returns integer values
1 parent b880f57 commit 900f716

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
@@ -285,7 +285,7 @@ public function update()
285285
for ($vsFrom = $lastVersionId; $vsFrom < $currentVersionId; $vsFrom += $versionBatchSize) {
286286
// Don't go past the current version for atomicy.
287287
$versionTo = min($currentVersionId, $vsFrom + $versionBatchSize);
288-
$ids = array_map('intval', $this->getChangelog()->getList($vsFrom, $versionTo));
288+
$ids = $this->getChangelog()->getList($vsFrom, $versionTo);
289289

290290
// We run the actual indexer in batches.
291291
// Chunked AFTER loading to avoid duplicates in separate chunks.

0 commit comments

Comments
 (0)