Skip to content

Commit fd15d4d

Browse files
author
Volodymyr Kublytskyi
committed
MAGETWO-80319: Remove array indexing by entityId #11086
- Merge Pull Request #11086 from thisisandrew/magento2:remove-unnecessary-array-indexing-1 - Merged commits: 1. 505fd9f
2 parents e9b27bc + 505fd9f commit fd15d4d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,6 @@ protected function getAttributeValues($entityIds, $storeId)
369369
}
370370
$values = [];
371371

372-
foreach ($entityIds as $entityId) {
373-
$values[$entityId] = [];
374-
}
375372
$attributes = $this->getAttributes();
376373
$attributesType = ['varchar', 'int', 'decimal', 'text', 'datetime'];
377374
foreach ($attributesType as $type) {

0 commit comments

Comments
 (0)