@@ -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\PropertyBuilder; |
| 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 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** @var ProductOptionInterface $productOption */ |
| 74 | 74 | foreach ($this->productOptionsContext->getOptions() as $productOption) { |
| 75 | 75 | $name = $this->optionPropertyPrefix . '_' . $productOption->getCode(); |
| 76 | - $optionValues = array_map(function (ProductOptionValueInterface $productOptionValue): ?string { |
|
| 76 | + $optionValues = array_map(function(ProductOptionValueInterface $productOptionValue): ?string { |
|
| 77 | 77 | return $productOptionValue->getValue(); |
| 78 | 78 | }, $productOption->getValues()->toArray()); |
| 79 | 79 | |
@@ -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\Controller\RequestDataHandler; |
| 14 | 14 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | |
| 122 | 122 | foreach ($requestData[$formName] as $key => $value) { |
| 123 | 123 | if (is_array($value) && 0 === strpos($key, $propertyPrefix)) { |
| 124 | - $data[$key] = array_map(function (string $property): string { |
|
| 124 | + $data[$key] = array_map(function(string $property): string { |
|
| 125 | 125 | return strtolower($property); |
| 126 | 126 | }, $value); |
| 127 | 127 | } |
@@ -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 ProductAttributeInterface $productAttribute */ |
| 52 | 52 | foreach ($this->productAttributesContext->getAttributes() as $productAttribute) { |
| 53 | 53 | $name = $this->attributePropertyPrefix . '_' . $productAttribute->getCode(); |
| 54 | - $attributeValues = array_map(function (ProductAttributeValueInterface $productAttributeValue): ?string { |
|
| 54 | + $attributeValues = array_map(function(ProductAttributeValueInterface $productAttributeValue): ?string { |
|
| 55 | 55 | return $productAttributeValue->getValue(); |
| 56 | 56 | }, $productAttribute->getValues()->toArray()); |
| 57 | 57 | |
@@ -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\PropertyBuilder; |
| 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\PropertyBuilder; |
| 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\QueryBuilder; |
| 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\Context; |
| 14 | 14 | |