Skip to content

Commit e49b1e4

Browse files
author
Stanislav Idolov
committed
MAGETWO-83893: Eliminate @codingStandardsIgnoreFile annotation from codebase
1 parent e918855 commit e49b1e4

File tree

1 file changed

+3
-6
lines changed
  • lib/internal/Magento/Framework/Mview

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,10 @@ public function update()
280280
? $this->changelogBatchSize[$this->getChangelog()->getViewId()]
281281
: self::DEFAULT_BATCH_SIZE;
282282

283-
for ($versionFrom = $lastVersionId;
284-
$versionFrom < $currentVersionId;
285-
$versionFrom += $versionBatchSize
286-
) {
283+
for ($vsFrom = $lastVersionId; $vsFrom < $currentVersionId; $vsFrom += $versionBatchSize) {
287284
// Don't go past the current version for atomicy.
288-
$versionTo = min($currentVersionId, $versionFrom + $versionBatchSize);
289-
$ids = $this->getChangelog()->getList($versionFrom, $versionTo);
285+
$versionTo = min($currentVersionId, $vsFrom + $versionBatchSize);
286+
$ids = $this->getChangelog()->getList($vsFrom, $versionTo);
290287

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

0 commit comments

Comments
 (0)