Test Failed
Push — master ( a11bb0...67b740 )
by Peter
02:00
created
src/ApiClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         try {
87 87
             $xml = simplexml_load_string($xml);
88
-        } catch(Exception $e) {
88
+        } catch (Exception $e) {
89 89
             throw new InvalidXmlException;
90 90
         }
91 91
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             throw new MissingApiKeyException;
120 120
         }
121 121
 
122
-        return array_merge([ 'apiKey' => $this->apiKey ], $params[0] ?? []);
122
+        return array_merge([ 'apiKey' => $this->apiKey ], $params[ 0 ] ?? [ ]);
123 123
     }
124 124
 
125 125
     /**
Please login to merge, or discard this patch.