@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\System; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
| 4 | 4 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | public function set(array $values): string |
| 26 | 26 | { |
| 27 | 27 | return $this->concat( |
| 28 | - array_map(function ($field, $value) { |
|
| 28 | + array_map(function($field, $value) { |
|
| 29 | 29 | return $field . ' = ' . $value; |
| 30 | 30 | }, |
| 31 | 31 | $this->escapeField($this->fields), $this->preSet($values, 'u'))); |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | return 'UPDATE ' . $this->table() . ' SET ' |
| 47 | 47 | . (!is_null($this->values) |
| 48 | 48 | ? $this->values |
| 49 | - : $this->concat(array_map(function ($field) { |
|
| 50 | - return $this->escapeField($field) . ' = ?';; |
|
| 49 | + : $this->concat(array_map(function($field) { |
|
| 50 | + return $this->escapeField($field) . ' = ?'; ; |
|
| 51 | 51 | }, $this->fields)) |
| 52 | 52 | ) |
| 53 | 53 | . $this->getParts(); |