|
@@ -8,7 +8,7 @@ discard block |
|
|
block discarded – undo |
|
8
|
8
|
* an email on [email protected]. |
|
9
|
9
|
*/ |
|
10
|
10
|
|
|
11
|
|
-declare(strict_types=1); |
|
|
11
|
+declare(strict_types = 1); |
|
12
|
12
|
|
|
13
|
13
|
namespace BitBag\SyliusElasticsearchPlugin\Form\Type\ChoiceMapper; |
|
14
|
14
|
|
|
@@ -48,7 +48,7 @@ discard block |
|
|
block discarded – undo |
|
48
|
48
|
{ |
|
49
|
49
|
$attributeValues = $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]); |
|
50
|
50
|
$choices = []; |
|
51
|
|
- array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices) { |
|
|
51
|
+ array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices) { |
|
52
|
52
|
$value = $this->attributeValueResolver->resolve($productAttributeValue); |
|
53
|
53
|
$choices[$productAttributeValue->getValue()] = $value; |
|
54
|
54
|
}); |
Please login to merge, or discard this patch.