x Sorry, these patches are not available anymore due to data migration. Please run a fresh inspection.
Passed
Push — master ( 627cbd...8a572c )
by Peter
02:39
created
src/ApiClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             throw new MissingApiKeyException;
133 133
         }
134 134
 
135
-        return array_merge([ 'apiKey' => $this->apiKey ], $params[0] ?? [ ]);
135
+        return array_merge([ 'apiKey' => $this->apiKey ], $params[ 0 ] ?? [ ]);
136 136
     }
137 137
 
138 138
     /**
Please login to merge, or discard this patch.
src/Converters/Json/Match.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         }
87 87
 
88 88
         if (in_array($name, self::SUBSTITUTIONS)) {
89
-            return array_map([ $this, 'substitutions' ], $this->toArray($data));        }
89
+            return array_map([ $this, 'substitutions' ], $this->toArray($data)); }
90 90
 
91 91
         if (in_array($name, self::NUMERIC)) {
92 92
             return (int) $data;
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         $data = $this->cleanse($data);
144 144
 
145
-        return empty($data) ? [ ] : explode(';', rtrim($data,";"));
145
+        return empty($data) ? [ ] : explode(';', rtrim($data, ";"));
146 146
     }
147 147
 
148 148
     /**
Please login to merge, or discard this patch.