@@ -64,7 +64,7 @@ |
||
| 64 | 64 | public function filter(array $filters): self |
| 65 | 65 | { |
| 66 | 66 | $q = clone $this; |
| 67 | - $q->body['filter'] = array_map(static function ($filter) use ($q): string { return $q->parseFilter($filter); }, $filters); |
|
| 67 | + $q->body['filter'] = array_map(static function($filter) use ($q): string { return $q->parseFilter($filter); }, $filters); |
|
| 68 | 68 | |
| 69 | 69 | return $q; |
| 70 | 70 | } |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | |
| 68 | 68 | public function toJson(): string |
| 69 | 69 | { |
| 70 | - return self::jsonEncode(array_filter($this->options, static function ($option): bool { return null !== $option; }), JSON_FORCE_OBJECT); |
|
| 70 | + return self::jsonEncode(array_filter($this->options, static function($option): bool { return null !== $option; }), JSON_FORCE_OBJECT); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | public function getName(): string |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | |
| 74 | 74 | public function toJson(): string |
| 75 | 75 | { |
| 76 | - return self::jsonEncode(array_filter($this->options, static function ($option): bool { return null !== $option; })); |
|
| 76 | + return self::jsonEncode(array_filter($this->options, static function($option): bool { return null !== $option; })); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | public function getName(): string |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | public function toJson(): string |
| 77 | 77 | { |
| 78 | - return self::jsonEncode(array_filter($this->options, static function ($option): bool { return null !== $option; }), JSON_FORCE_OBJECT); |
|
| 78 | + return self::jsonEncode(array_filter($this->options, static function($option): bool { return null !== $option; }), JSON_FORCE_OBJECT); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | public function getName(): string |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | public function __construct(iterable $commands = []) |
| 43 | 43 | { |
| 44 | - $this->commands = (static function (Command ...$commands): array { |
|
| 44 | + $this->commands = (static function(Command ...$commands): array { |
|
| 45 | 45 | return $commands; |
| 46 | 46 | })(...$commands); |
| 47 | 47 | } |