Passed
Push — master ( 9e02f8...e87f4e )
by Ole
02:12
created
src/Response/Handler/AbstractLazyResponseHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Response/RedirectResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Response/TemplateResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     private $data;
22 22
 
23
-    public function __construct(string $template, array $data, int $status = Response::HTTP_OK, array $headers = [])
23
+    public function __construct(string $template, array $data, int $status = Response::HTTP_OK, array $headers = [ ])
24 24
     {
25 25
         parent::__construct($status, $headers);
26 26
         $this->template = $template;
Please login to merge, or discard this patch.
src/Response/JsonSerializeResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * @param int   $status
21 21
      * @param array $headers
22 22
      */
23
-    public function __construct($data, int $status = Response::HTTP_OK, array $headers = [])
23
+    public function __construct($data, int $status = Response::HTTP_OK, array $headers = [ ])
24 24
     {
25 25
         parent::__construct($status, $headers);
26 26
         $this->data = $data;
Please login to merge, or discard this patch.
src/Response/AbstractLazyHttpResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * AbstractLazyHttpResponse constructor.
25 25
      */
26
-    public function __construct(int $status = Response::HTTP_OK, array $headers = [])
26
+    public function __construct(int $status = Response::HTTP_OK, array $headers = [ ])
27 27
     {
28 28
         $this->status = $status;
29 29
         $this->headers = $headers;
Please login to merge, or discard this patch.