Skip to content

Commit e918855

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

File tree

1 file changed

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

1 file changed

+6
-2
lines changed

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

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

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

288-
// We run the actual indexer in batches. Chunked AFTER loading to avoid duplicates in separate chunks.
291+
// We run the actual indexer in batches.
292+
// Chunked AFTER loading to avoid duplicates in separate chunks.
289293
$chunks = array_chunk($ids, $batchSize);
290294
foreach ($chunks as $ids) {
291295
$action->execute($ids);

0 commit comments

Comments
 (0)