| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | public static function getSubscribedEvents(): array | 
| 18 | 18 |      { | 
| 19 | 19 | return [ | 
| 20 | - KernelEvents::VIEW => ['handleLazyResponse'], | |
| 20 | + KernelEvents::VIEW => [ 'handleLazyResponse' ], | |
| 21 | 21 | ]; | 
| 22 | 22 | } | 
| 23 | 23 | |
| @@ -38,7 +38,7 @@ | ||
| 38 | 38 | $this->router->generate( | 
| 39 | 39 | $controllerResult->getRouteName(), | 
| 40 | 40 | $controllerResult->getRouteParams() | 
| 41 | - ), | |
| 41 | + ), | |
| 42 | 42 | $controllerResult->getStatusCode(), | 
| 43 | 43 | $controllerResult->getHeaders() | 
| 44 | 44 | ); | 
| @@ -30,7 +30,7 @@ | ||
| 30 | 30 | */ | 
| 31 | 31 | private $headers; | 
| 32 | 32 | |
| 33 | - public function __construct(string $template, array $data, int $status = Response::HTTP_OK, array $headers = []) | |
| 33 | + public function __construct(string $template, array $data, int $status = Response::HTTP_OK, array $headers = [ ]) | |
| 34 | 34 |      { | 
| 35 | 35 | $this->template = $template; | 
| 36 | 36 | $this->data = $data; | 
| @@ -28,7 +28,7 @@ | ||
| 28 | 28 | */ | 
| 29 | 29 | private $headers; | 
| 30 | 30 | |
| 31 | - public function __construct(string $routeName, array $routeParams = [], bool $isPermanent = false, array $headers = []) | |
| 31 | + public function __construct(string $routeName, array $routeParams = [ ], bool $isPermanent = false, array $headers = [ ]) | |
| 32 | 32 |      { | 
| 33 | 33 | $this->routeName = $routeName; | 
| 34 | 34 | $this->routeParams = $routeParams; |