Completed
Push — master ( 7e08c0...85acdc )
by Patrick
02:18
created
src/Adapters/Psr7/ResponseFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.