@@ -26,7 +26,7 @@ |
||
26 | 26 | ); |
27 | 27 | } |
28 | 28 | |
29 | - array_walk($decoded->capabilities, function ($item) { |
|
29 | + array_walk($decoded->capabilities, function($item) { |
|
30 | 30 | if (!is_string($item)) { |
31 | 31 | throw new JsonFormatException("JSON property `capabilities` must only contain strings."); |
32 | 32 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | 'id' => Command::ID, |
30 | 30 | 'method' => self::METHOD, |
31 | 31 | 'params' => array_merge( |
32 | - [ $this->ip, (string) $this->command], |
|
32 | + [ $this->ip, (string) $this->command ], |
|
33 | 33 | !is_null($this->banTime) ? [ $this->banTime ] : [ ], |
34 | 34 | !is_null($this->absolute) && !is_null($this->banTime) ? [ $this->absolute ] : [ ] |
35 | 35 | ) |