@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | */ |
| 170 | 170 | private function assertRequiredCommandOptions(string $command, array $options = []) |
| 171 | 171 | { |
| 172 | - if (! $this->isCommandValid($command)) { |
|
| 172 | + if (!$this->isCommandValid($command)) { |
|
| 173 | 173 | throw new RuntimeException( |
| 174 | 174 | "Call to unsupported API command [{$command}], this call is not present in the API list." |
| 175 | 175 | ); |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | |
| 181 | 181 | $missing = array_diff($requiredParameters, $providedParameters); |
| 182 | 182 | |
| 183 | - if (! empty($missing)) { |
|
| 183 | + if (!empty($missing)) { |
|
| 184 | 184 | $missing = implode(', ', $missing); |
| 185 | 185 | |
| 186 | 186 | throw new InvalidArgumentException( |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | $commands = $this->getApiList(); |
| 210 | 210 | $parameters = $commands[$command]['params']; |
| 211 | 211 | |
| 212 | - $required = array_filter($parameters, function ($rules) { |
|
| 212 | + $required = array_filter($parameters, function($rules) { |
|
| 213 | 213 | return (bool) $rules['required']; |
| 214 | 214 | }); |
| 215 | 215 | |