Test Failed
Branch master (214ee9)
by Tomasz
02:27
created
Category
src/LogicException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WriteModel;
5 5
 
Please login to merge, or discard this patch.
src/CommandFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WriteModel;
5 5
 
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
         }
36 36
 
37 37
         // use only data indicated in $fields array
38
-        $data = array_filter($data, function ($key) { return in_array($key, $this->fields); }, ARRAY_FILTER_USE_KEY);
38
+        $data = array_filter($data, function($key) { return in_array($key, $this->fields); }, ARRAY_FILTER_USE_KEY);
39 39
 
40 40
         // flip $fields to have it's value as keys in $defaults array and reset all values to null
41
-        $defaults = array_map(function () { return null; }, array_flip($this->fields));
41
+        $defaults = array_map(function() { return null; }, array_flip($this->fields));
42 42
         $command = call_user_func($this->factoryMethod, array_merge($defaults, $data));
43 43
 
44 44
         if (!is_object($command)) {
Please login to merge, or discard this patch.
src/CommandsBuilderSupport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WriteModel;
5 5
 
Please login to merge, or discard this patch.
src/CommandsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace WriteModel;
5 5
 
Please login to merge, or discard this patch.