@@ -85,7 +85,7 @@ discard block |
||
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 |
||
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 | /** |