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