@@ -75,14 +75,14 @@ |
||
| 75 | 75 | */ |
| 76 | 76 | public function __invoke(callable $handler) |
| 77 | 77 | { |
| 78 | - return function ( |
|
| 78 | + return function( |
|
| 79 | 79 | RequestInterface $request, |
| 80 | 80 | array $options |
| 81 | 81 | ) use ($handler) { |
| 82 | 82 | $promise = $handler($request, $options); |
| 83 | 83 | |
| 84 | 84 | return $promise->then( |
| 85 | - function (ResponseInterface $response) use ($request) { |
|
| 85 | + function(ResponseInterface $response) use ($request) { |
|
| 86 | 86 | if (!$this->skip) { |
| 87 | 87 | // This needs to be done every time as it modifies itself during the validation |
| 88 | 88 | // meaning the second request will fail. |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | foreach ($message->getHeaders() as $name => $values) { |
| 19 | 19 | foreach ($values as $value) { |
| 20 | - $string .= $name.': '.$value."\n"; |
|
| 20 | + $string .= $name . ': ' . $value . "\n"; |
|
| 21 | 21 | } |
| 22 | 22 | } |
| 23 | 23 | |