Passed
Push — master ( 5b5a8e...384cd4 )
by Tomasz
02:33
created
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
 
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
         }
56 56
 
57 57
         // use only data indicated in $fields array
58
-        $data = array_filter($data, function ($key) {
58
+        $data = array_filter($data, function($key) {
59 59
             return in_array($key, $this->fields);
60 60
         }, ARRAY_FILTER_USE_KEY);
61 61
 
62 62
         // flip $fields to have it's value as keys in $defaults array and reset all values to null
63
-        $defaults = array_map(function () {
63
+        $defaults = array_map(function() {
64 64
             return null;
65 65
         }, array_flip($this->fields));
66 66
 
Please login to merge, or discard this patch.