Skip to content

Commit 516bbe8

Browse files
author
Raphael Petrini
committed
fix code style
1 parent 70a96e8 commit 516bbe8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Eav/Model/Entity/Collection/AbstractCollection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,11 +1175,11 @@ public function _loadAttributes($printQuery = false, $logQuery = false)
11751175
foreach ($selectGroups as $selects) {
11761176
if (!empty($selects)) {
11771177
try {
1178-
if (is_array($selects))
1179-
{
1178+
if (is_array($selects)) {
11801179
$select = implode(' UNION ALL ', $selects);
1180+
} else {
1181+
$select = $selects;
11811182
}
1182-
else $select = $selects;
11831183
$values = $this->getConnection()->fetchAll($select);
11841184
} catch (\Exception $e) {
11851185
$this->printLogQuery(true, true, $select);

0 commit comments

Comments
 (0)