@@ -45,7 +45,7 @@ |
||
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()); |
@@ -27,6 +27,6 @@ |
||
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 |