Completed
Pull Request — master (#160)
by
unknown
08:03
created
src/Form/Type/ChoiceMapper/ProductAttributesMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Repository/ProductAttributeValueRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.