Completed
Push — master ( 26c37b...25c8ee )
by DAOUDI
02:29
created
Controller/SfForwardController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             /** @var ResponseInterface $guzzleResponse */
46 46
             $guzzleResponse = $client->{$method}(
47 47
                 $params->getRouteId(),
48
-                ['query' => $request->{RequestMethodMapping::$methodsMapping[$method]}->all()]
48
+                [ 'query' => $request->{RequestMethodMapping::$methodsMapping[ $method ]}->all() ]
49 49
             );
50 50
 
51 51
             $response = new Response($guzzleResponse->getBody());
Please login to merge, or discard this patch.
Util/RequestMethodMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
      */
28 28
     public static function isValidMethod($method)
29 29
     {
30
-        return isset(self::$methodsMapping[$method]);
30
+        return isset(self::$methodsMapping[ $method ]);
31 31
     }
32 32
 }
33 33
\ No newline at end of file
Please login to merge, or discard this patch.