@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public static function createResolver() |
| 25 | 25 | { |
| 26 | - return function ($config) { |
|
| 26 | + return function($config) { |
|
| 27 | 27 | if ($config instanceof MiddlewareInterface) { |
| 28 | 28 | return $config; |
| 29 | 29 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | protected function isResponseSuccessful(ResponseInterface $response) |
| 45 | 45 | { |
| 46 | - if (in_array($response->getStatusCode(), [200, 201, 204])) { |
|
| 46 | + if (in_array($response->getStatusCode(), [ 200, 201, 204 ])) { |
|
| 47 | 47 | return true; |
| 48 | 48 | } |
| 49 | 49 | |