@@ -65,7 +65,7 @@ |
||
65 | 65 | |
66 | 66 | public function toJson(): string |
67 | 67 | { |
68 | - return self::jsonEncode(array_filter($this->options, static function ($option) { return null !== $option; })); |
|
68 | + return self::jsonEncode(array_filter($this->options, static function($option) { return null !== $option; })); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | public function getName(): string |
@@ -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) { return null !== $option; }), JSON_FORCE_OBJECT); |
|
70 | + return self::jsonEncode(array_filter($this->options, static function($option) { return null !== $option; }), JSON_FORCE_OBJECT); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | public function getName(): string |
@@ -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) { return null !== $option; }), JSON_FORCE_OBJECT); |
|
70 | + return self::jsonEncode(array_filter($this->options, static function($option) { return null !== $option; }), JSON_FORCE_OBJECT); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | public function getName(): string |
@@ -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 | } |