Passed
Pull Request — master (#6)
by Gábor
02:19
created
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): 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
Please login to merge, or discard this patch.
src/Query/Command/Add.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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
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
@@ -75,7 +75,7 @@
 block discarded – undo
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
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): array {
44
+        $this->commands = (static function(Command ...$commands): array {
45 45
             return $commands;
46 46
         })(...$commands);
47 47
     }
Please login to merge, or discard this patch.