@@ -1,4 +1,4 @@ discard block  | 
                                                    ||
| 1 | -<?php declare(strict_types=1);  | 
                                                        |
| 1 | +<?php declare(strict_types = 1);  | 
                                                        |
| 2 | 2 | |
| 3 | 3 | namespace WyriHaximus\React\Http\Middleware;  | 
                                                        
| 4 | 4 | |
@@ -8,7 +8,7 @@ discard block  | 
                                                    ||
| 8 | 8 | |
| 9 | 9 | final class WithHeadersMiddleware  | 
                                                        
| 10 | 10 |  { | 
                                                        
| 11 | - private $headers = [];  | 
                                                        |
| 11 | + private $headers = [ ];  | 
                                                        |
| 12 | 12 | |
| 13 | 13 | /**  | 
                                                        
| 14 | 14 | * @param array $headers  | 
                                                        
@@ -20,7 +20,7 @@ discard block  | 
                                                    ||
| 20 | 20 | |
| 21 | 21 | public function __invoke(ServerRequestInterface $request, callable $next)  | 
                                                        
| 22 | 22 |      { | 
                                                        
| 23 | -        return resolve($next($request))->then(function (ResponseInterface $response) { | 
                                                        |
| 23 | +        return resolve($next($request))->then(function(ResponseInterface $response) { | 
                                                        |
| 24 | 24 |              foreach ($this->headers as $header => $value) { | 
                                                        
| 25 | 25 | $response = $response->withHeader($header, $value);  | 
                                                        
| 26 | 26 | }  |