Passed
Pull Request — master (#6)
by Gábor
02:04
created
src/Query/Command/Add.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Query/Command/Commit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Query/Command/Optimize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Query/SelectQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Query/UpdateQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function __construct(iterable $commands = [])
43 43
     {
44
-        $this->commands = (static function (Command ...$commands) {
44
+        $this->commands = (static function(Command ...$commands) {
45 45
             return $commands;
46 46
         })(...$commands);
47 47
     }
Please login to merge, or discard this patch.