@@ -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 @@ 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; |
| 14 | 14 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | /** @var ProductOptionInterface $productOption */ |
| 52 | 52 | foreach ($this->productOptionsContext->getOptions() as $productOption) { |
| 53 | 53 | $name = $this->optionNameResolver->resolvePropertyName($productOption->getCode()); |
| 54 | - $optionValues = array_map(function (ProductOptionValueInterface $productOptionValue): ?string { |
|
| 54 | + $optionValues = array_map(function(ProductOptionValueInterface $productOptionValue): ?string { |
|
| 55 | 55 | return $productOptionValue->getValue(); |
| 56 | 56 | }, $productOption->getValues()->toArray()); |
| 57 | 57 | |
@@ -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; |
| 14 | 14 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $name = $this->attributeNameResolver->resolvePropertyName($productAttribute->getCode()); |
| 72 | 72 | $attributeValues = $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]); |
| 73 | 73 | $choices = []; |
| 74 | - array_walk($attributeValues, function (?ProductAttributeValueInterface $productAttributeValue) use (&$choices) { |
|
| 74 | + array_walk($attributeValues, function(?ProductAttributeValueInterface $productAttributeValue) use (&$choices) { |
|
| 75 | 75 | $choices[$productAttributeValue->getValue()] = $this->attributeValueResolver->resolve($productAttributeValue); |
| 76 | 76 | }); |
| 77 | 77 | |
@@ -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\Finder; |
| 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\Finder; |
| 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\Finder; |
| 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\Finder; |
| 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\Finder; |
| 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\PropertyNameResolver; |
| 14 | 14 | |