@@ -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 | |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | public function set(array $values): string |
| 24 | 24 | { |
| 25 | 25 | return implode(',', |
| 26 | - array_map(function ($field, $value) { |
|
| 26 | + array_map(function($field, $value) { |
|
| 27 | 27 | return $field . ' = ' . $value; |
| 28 | 28 | }, |
| 29 | 29 | $this->escapeField($this->fields), $this->preSet($values, 'u'))); |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | . (count($this->values) |
| 40 | 40 | ? implode(',', $this->values) |
| 41 | 41 | : (count($this->fields) & !count($this->values) |
| 42 | - ? implode(',', array_map(function ($field) { |
|
| 42 | + ? implode(',', array_map(function($field) { |
|
| 43 | 43 | return $this->escapeField($field) . ' = ?'; |
| 44 | 44 | ;}, $this->fields)) |
| 45 | 45 | : '') |
@@ -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\System; |
| 4 | 4 | |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | private $conditions = []; |
| 28 | 28 | |
| 29 | - public function __construct(){} |
|
| 29 | + public function __construct() {} |
|
| 30 | 30 | |
| 31 | 31 | public function conditions(): array |
| 32 | 32 | { |