Passed
Push — master ( 8dead3...965a64 )
by Mikołaj
03:56
created
src/Controller/Action/Shop/ListProductsAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Controller/RequestDataHandler/ShopProductListDataHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.