@@ -8,7 +8,7 @@ |
||
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\Controller\RequestDataHandler; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
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\Controller\RequestDataHandler; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
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\Twig\Extension; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
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; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
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; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
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 |
@@ -8,7 +8,7 @@ discard block |
||
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 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | */ |
23 | 23 | public function mapToChoices(ProductOptionInterface $productOption): array |
24 | 24 | { |
25 | - $optionValues = array_map(function (ProductOptionValueInterface $productOptionValue): ?string { |
|
25 | + $optionValues = array_map(function(ProductOptionValueInterface $productOptionValue): ?string { |
|
26 | 26 | return $productOptionValue->getValue(); |
27 | 27 | }, $productOption->getValues()->toArray()); |
28 | 28 |
@@ -8,7 +8,7 @@ |
||
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 |
@@ -8,7 +8,7 @@ discard block |
||
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 |
||
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 = $productAttributeValue->getValue(); |
53 | 53 | if (is_array($value)) { |
54 | 54 | foreach ($value as $singleValue) { |