Passed
Push — master ( 0570dc...14956b )
by Ron
02:29
created
src/Builder/InsertUpdateStatement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.