Passed
Push — develop ( 6dbdd8...39311b )
by David
29s
created
src/Sql/Command/Update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
             throw new EmptyDatasetException();
99 99
         }
100 100
 
101
-        $sets = array_map(function ($value) {
101
+        $sets = array_map(function($value) {
102 102
             return sprintf('%1$s = :%1$s', $value);
103 103
         }, array_keys($this->getData()));
104 104
         $where = $this->getWhereStatement();
Please login to merge, or discard this patch.
src/Sql/Where/ArrayWhere.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $suffix = $keyPrefix = ($this->getUseParanthesis() ? ")" : "");
72 72
 
73 73
         $glue = $keyPrefix . ' ' . $this->getFieldOperator() . ' ' . $keySuffix;
74
-        return $prefix . implode($glue, array_map(function ($key, $value) use ($keySalt) {
74
+        return $prefix . implode($glue, array_map(function($key, $value) use ($keySalt) {
75 75
                     $saltedKey = $key . "-" . $keySalt;
76 76
                     $this->addData($saltedKey, $value);
77 77
                     return sprintf('%s = :%s', $key, $saltedKey);
Please login to merge, or discard this patch.