Passed
Branch develop (f4dbb7)
by compolom
02:00
created
src/System/Fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\LSQLQueryBuilder\System;
4 4
 
Please login to merge, or discard this patch.
src/Parts/Update.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.