Passed
Branch master (5db0c9)
by Leonardo
01:49
created
Category
src/Model/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     private function collectParameters()
80 80
     {
81
-        $filtered  = array_filter(get_object_vars($this));
81
+        $filtered = array_filter(get_object_vars($this));
82 82
 
83 83
         return array_diff_key($filtered, get_class_vars(self::class));
84 84
     }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
             foreach ($this->required as $required) {
94 94
 
95
-                if (! $this->$required) {
95
+                if (!$this->$required) {
96 96
                     throw new RequiredParameterException($required);
97 97
                 }
98 98
 
Please login to merge, or discard this patch.
src/Traits/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         $response = json_decode($response);
44 44
 
45
-        if (! isset($response->error_code)) {
45
+        if (!isset($response->error_code)) {
46 46
             return Response::message($response->result)->status('success')->get();
47 47
         }
48 48
 
Please login to merge, or discard this patch.