@@ -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\EntityRepository; |
| 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 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | $productOptionValues = $productOption->getValues()->toArray(); |
| 40 | 40 | $choices = []; |
| 41 | 41 | |
| 42 | - array_walk($productOptionValues, function (ProductOptionValueInterface $productOptionValue) use (&$choices) { |
|
| 42 | + array_walk($productOptionValues, function(ProductOptionValueInterface $productOptionValue) use (&$choices) { |
|
| 43 | 43 | $value = $productOptionValue->getValue(); |
| 44 | 44 | $choices[$value] = $this->stringFormatter->formatToLowercaseWithoutSpaces($value); |
| 45 | 45 | }); |