Passed
Push — master ( 552254...bf937c )
by Andrii
02:11
created
src/Models/Response.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function isSuccessful(): bool
84 84
     {
85
-        return ($this->statusCode >= 200 && $this->statusCode <= 299)? true : false;
85
+        return ($this->statusCode >= 200 && $this->statusCode <= 299) ? true : false;
86 86
     }
87 87
 
88 88
     /**
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         if (strlen($contents) > 1) {
112 112
             $contents = json_decode($contents, 1);
113
-            return is_array($contents)? $contents: [];
113
+            return is_array($contents) ? $contents : [];
114 114
         }
115 115
 
116 116
         return [];
Please login to merge, or discard this patch.