@@ -59,7 +59,7 @@ |
||
| 59 | 59 | $attributeValues = $this->productAttributeValueRepository->getUniqueAttributeValues($productAttribute); |
| 60 | 60 | |
| 61 | 61 | $choices = []; |
| 62 | - array_walk($attributeValues, function ($productAttributeValue) use (&$choices, $productAttribute): void { |
|
| 62 | + array_walk($attributeValues, function($productAttributeValue) use (&$choices, $productAttribute): void { |
|
| 63 | 63 | $value = $productAttributeValue['value']; |
| 64 | 64 | |
| 65 | 65 | $configuration = $productAttribute->getConfiguration(); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | $storageType = $productAttribute->getStorageType(); |
| 34 | 34 | |
| 35 | 35 | return $queryBuilder |
| 36 | - ->select('o.localeCode, o.'.$storageType.' as value') |
|
| 36 | + ->select('o.localeCode, o.' . $storageType . ' as value') |
|
| 37 | 37 | ->where('o.attribute = :attribute') |
| 38 | 38 | ->groupBy('o.' . $storageType) |
| 39 | 39 | ->addGroupBy('o.localeCode') |