@@ -20,7 +20,7 @@ |
||
| 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; |
@@ -20,7 +20,7 @@ |
||
| 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; |
@@ -23,7 +23,7 @@ |
||
| 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; |