Skip to content

Commit 6b459bb

Browse files
author
Stanislav Idolov
authored
ENGCOM-2890: Improve array semicolon and misspelled #17820
2 parents dbef1ae + 016fd3a commit 6b459bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ protected function removeEntries()
161161
$this->getIndexTable($store->getId()),
162162
['product_id IN (?)' => $this->limitationByProducts]
163163
);
164-
};
164+
}
165165
}
166166

167167
/**
@@ -228,7 +228,7 @@ private function getCategoryIdsFromIndex(array $productIds)
228228
->distinct()
229229
)
230230
);
231-
};
231+
}
232232
$parentCategories = $categoryIds;
233233
foreach ($categoryIds as $categoryId) {
234234
$parentIds = explode('/', $this->getPathFromCategoryId($categoryId));

app/code/Magento/Catalog/Model/ResourceModel/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public function getProductsPosition($category)
490490
}
491491

492492
/**
493-
* Get chlden categories count
493+
* Get children categories count
494494
*
495495
* @param int $categoryId
496496
* @return int

0 commit comments

Comments
 (0)