@@ -34,13 +34,13 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function buildFieldList(array $fields, array $query = []): array { |
| 36 | 36 | foreach ($fields as $fieldName => $fieldValue) { |
| 37 | - if($fieldValue instanceof DefaultValue) { |
|
| 37 | + if ($fieldValue instanceof DefaultValue) { |
|
| 38 | 38 | $fieldValue = 'DEFAULT'; |
| 39 | 39 | } |
| 40 | - if(is_array($this->mask) && !in_array($fieldName, $this->mask, true)) { |
|
| 40 | + if (is_array($this->mask) && !in_array($fieldName, $this->mask, true)) { |
|
| 41 | 41 | continue; |
| 42 | 42 | } |
| 43 | - if(is_int($fieldName)) { |
|
| 43 | + if (is_int($fieldName)) { |
|
| 44 | 44 | if (is_array($fieldValue)) { |
| 45 | 45 | // @phpstan-ignore-next-line |
| 46 | 46 | $fieldValue = $this->db()->quoteExpression($fieldValue[0], array_slice($fieldValue, 1)); |