Passed
Branch master (c716e1)
by compolom
01:47
created
src/Parts/Update.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                     : '')
Please login to merge, or discard this patch.
src/System/Conditions.php 1 patch
Spacing   +2 added lines, -2 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\System;
4 4
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
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
     {
Please login to merge, or discard this patch.