Passed
Push — main ( 303b6c...b49db2 )
by Sammy
01:47 queued 15s
created
src/Grammar/Query/Select.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,8 +47,9 @@  discard block
 block discarded – undo
47 47
                 Clause::LIMIT
48 48
             ] as $clause
49 49
         ) {
50
-            if($this->clause($clause) === null)
51
-                continue;
50
+            if($this->clause($clause) === null) {
51
+                            continue;
52
+            }
52 53
 
53 54
             $ret .= PHP_EOL . $this->clause($clause);
54 55
         }
@@ -79,8 +80,9 @@  discard block
 block discarded – undo
79 80
      */
80 81
     public function selectAlso(array $setter): self
81 82
     {
82
-        if (empty($setter))
83
-            throw new \InvalidArgumentException('EMPTY_SETTER_ARRAY');
83
+        if (empty($setter)) {
84
+                    throw new \InvalidArgumentException('EMPTY_SETTER_ARRAY');
85
+        }
84 86
 
85 87
         foreach ($setter as $alias => $column) {
86 88
 
Please login to merge, or discard this patch.
src/Schema/Schema.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,8 +160,7 @@
 block discarded – undo
160 160
     {
161 161
         if(in_array('*', $columns)){
162 162
             $filtered_columns = ['*'];
163
-        }
164
-        else{
163
+        } else{
165 164
             $filtered_columns = array_intersect($columns, $this->columns($table));
166 165
         } 
167 166
         
Please login to merge, or discard this patch.