Passed
Branch master (79937f)
by compolom
04:21 queued 01:56
created
src/Parts/Update.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function set(array $values): string
30 30
     {
31 31
         return $this->concat(
32
-            array_map(function ($field, $value) {
32
+            array_map(function($field, $value) {
33 33
                 return $field . ' = ' . $value;
34 34
             },
35 35
                 $this->escapeField($this->fields), $this->preSet($values, 'u')));
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $this->addPlaceholders($this->placeholders()->get());
50 50
         return 'UPDATE ' . $this->table() . ' SET '
51 51
             . ($this->values ??
52
-                $this->concat(array_map(function ($field) {
52
+                $this->concat(array_map(function($field) {
53 53
                     return $this->escapeField($field) . ' = ?';
54 54
                 }, $this->fields))
55 55
             )
Please login to merge, or discard this patch.
src/Parts/Join.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         if (!empty($this->onPairs)) {
85 85
             $result = [];
86 86
             foreach ($this->table as $counter => $join) {
87
-                $result[] = $this->concatWhere(array_map(function ($item) use ($join) {
87
+                $result[] = $this->concatWhere(array_map(function($item) use ($join) {
88 88
                     return $this->base->table() . '.' . $this->escapeField($item[0]) . ' = ' . $this->escapeField($join) . '.' . $this->escapeField($item[1]);
89 89
                 }, $this->onPairs[$counter]));
90 90
             }
Please login to merge, or discard this patch.