@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | * |
| 19 | 19 | * @return ResponseContract |
| 20 | 20 | */ |
| 21 | - public function html(string $content = null, int $status = 200, array $headers = []) : ResponseContract |
|
| 21 | + public function html(string $content = null, int $status = 200, array $headers = [ ]) : ResponseContract |
|
| 22 | 22 | { |
| 23 | 23 | if (!$content) { |
| 24 | 24 | return $this->emptyResponse($status, $headers); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @return ResponseContract |
| 38 | 38 | */ |
| 39 | - public function make($content = '', int $status = 200, array $headers = []) : ResponseContract |
|
| 39 | + public function make($content = '', int $status = 200, array $headers = [ ]) : ResponseContract |
|
| 40 | 40 | { |
| 41 | 41 | if ($content instanceof ResponseContract) { |
| 42 | 42 | return $content; |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @return ResponseContract |
| 59 | 59 | */ |
| 60 | - public function json($content = [], int $status = 200, array $headers = [], int $option = 79) : ResponseContract |
|
| 60 | + public function json($content = [ ], int $status = 200, array $headers = [ ], int $option = 79) : ResponseContract |
|
| 61 | 61 | { |
| 62 | 62 | if ($content instanceof Arrayable) { |
| 63 | 63 | $content = $content->toArray(); |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * |
| 75 | 75 | * @return ResponseContract |
| 76 | 76 | */ |
| 77 | - private function emptyResponse(int $status = 200, array $headers = []) : ResponseContract |
|
| 77 | + private function emptyResponse(int $status = 200, array $headers = [ ]) : ResponseContract |
|
| 78 | 78 | { |
| 79 | 79 | return new Response( |
| 80 | 80 | new EmptyResponse($status, $headers) |