@@ -29,7 +29,7 @@ discard block |
||
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 |
||
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 | ) |
@@ -84,7 +84,7 @@ |
||
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 | } |