@@ -39,6 +39,6 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public static function isValidMethod($method) |
| 41 | 41 | { |
| 42 | - return isset(self::$methodsMapping[$method]); |
|
| 42 | + return isset(self::$methodsMapping[ $method ]); |
|
| 43 | 43 | } |
| 44 | 44 | } |
@@ -45,8 +45,8 @@ |
||
| 45 | 45 | /** @var Client $client */ |
| 46 | 46 | $client = $this->get($guzzleServiceName); |
| 47 | 47 | |
| 48 | - $contentType = RequestMethodMapping::$contentTypes[$method]; |
|
| 49 | - $methodName = RequestMethodMapping::$methodsMapping[$method]; |
|
| 48 | + $contentType = RequestMethodMapping::$contentTypes[ $method ]; |
|
| 49 | + $methodName = RequestMethodMapping::$methodsMapping[ $method ]; |
|
| 50 | 50 | |
| 51 | 51 | /** @var ResponseInterface $guzzleResponse */ |
| 52 | 52 | $guzzleResponse = $client->{$method}( |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | ->willReturn($contentDisposition); |
| 83 | 83 | |
| 84 | 84 | $response->method('getHeaders') |
| 85 | - ->willReturn([]); |
|
| 85 | + ->willReturn([ ]); |
|
| 86 | 86 | |
| 87 | 87 | return $response; |
| 88 | 88 | } |