Passed
Push — master ( a860d2...ad8a44 )
by Francis
06:28
created
libraries/RESTResponse.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
    * @param [type]     $data [description]
39 39
    * @param integer    $code [description]
40 40
    */
41
-  public function __construct($data=null, ?int $code=null)
41
+  public function __construct($data = null, ?int $code = null)
42 42
   {
43 43
     $this->data = $data;
44 44
     $this->code = $code;
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
    * @param  int          $code [description]
62 62
    * @return RESTResponse       [description]
63 63
    */
64
-  public function json($data, ?int $code=null):RESTResponse
64
+  public function json($data, ?int $code = null):RESTResponse
65 65
   {
66 66
     $this->json = true;
67 67
     $this->code = $code;
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
    * @date  2019-11-11
75 75
    * @param boolean    $exit [description]
76 76
    */
77
-  public function send(bool $exit=false):void
77
+  public function send(bool $exit = false):void
78 78
   {
79 79
     http_response_code($this->code ?? 200);
80 80
 
Please login to merge, or discard this patch.