@@ -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\Exception; |
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 |
@@ -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 | |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | { |
114 | 114 | foreach ($request->query->all() as $key => $value) { |
115 | 115 | if (is_array($value) && 0 === strpos($key, $propertyPrefix)) { |
116 | - $data[$key] = array_map(function (string $property): string { |
|
116 | + $data[$key] = array_map(function(string $property): string { |
|
117 | 117 | return strtolower($property); |
118 | 118 | }, $value); |
119 | 119 | } |
@@ -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 as $productOption) { |
75 | 75 | $name = $this->optionPropertyPrefix . '_' . $productOption->getCode(); |
76 | - $choices = array_map(function (ProductOptionValueInterface $productOptionValue): ?string { |
|
76 | + $choices = array_map(function(ProductOptionValueInterface $productOptionValue): ?string { |
|
77 | 77 | return $productOptionValue->getValue(); |
78 | 78 | }, $productOption->getValues()); |
79 | 79 |
@@ -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 |
@@ -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 |