Passed
Pull Request — master (#178)
by
unknown
05:04
created
src/Form/Type/ChoiceMapper/ProductAttributesMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         $attributeValues = $this->productAttributeValueRepository->getUniqueAttributeValues($productAttribute);
56 56
 
57 57
         $choices = [];
58
-        array_walk($attributeValues, function ($productAttributeValue) use (&$choices, $productAttribute): void {
58
+        array_walk($attributeValues, function($productAttributeValue) use (&$choices, $productAttribute): void {
59 59
             $value = $productAttributeValue['value'];
60 60
 
61 61
             $configuration = $productAttribute->getConfiguration();
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                 }
72 72
             } else {
73 73
                 $choice = is_string($value) ? $this->stringFormatter->formatToLowercaseWithoutSpaces($value) : $value;
74
-                $choices[(string)$value] = $choice;
74
+                $choices[(string) $value] = $choice;
75 75
             }
76 76
         });
77 77
         unset($attributeValues);
Please login to merge, or discard this patch.