@@ -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\Action\Shop; |
| 14 | 14 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | public function __invoke(Request $request): Response |
| 70 | 70 | { |
| 71 | - $form = $this->formFactory->createNamed(null,ShopProductsFilterType::class); |
|
| 71 | + $form = $this->formFactory->createNamed(null, ShopProductsFilterType::class); |
|
| 72 | 72 | $form->handleRequest($request); |
| 73 | 73 | |
| 74 | 74 | $data = $this->shopProductListDataHandler->retrieveData($request); |
@@ -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 | |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | foreach ($request->query->all()[$formName] as $key => $value) { |
| 124 | 124 | if (is_array($value) && 0 === strpos($key, $propertyPrefix)) { |
| 125 | - $data[$key] = array_map(function (string $property): string { |
|
| 125 | + $data[$key] = array_map(function(string $property): string { |
|
| 126 | 126 | return strtolower($property); |
| 127 | 127 | }, $value); |
| 128 | 128 | } |