Passed
Push — master ( 9b561d...08d227 )
by y
01:25
created
src/DB/Select.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,8 +272,7 @@
 block discarded – undo
272 272
         foreach ($this->columns as $alias => $name) {
273 273
             if (is_string($alias) and $name !== $alias) {
274 274
                 $columns[] = "{$name} AS {$alias}";
275
-            }
276
-            else {
275
+            } else {
277 276
                 $columns[] = $name;
278 277
             }
279 278
         }
Please login to merge, or discard this patch.
src/DB/SQL/Predicate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@
 block discarded – undo
60 60
     public static function compare ($a, $b = null, $oper = '=', $subOper = 'ANY', $listOper = 'IN') {
61 61
         if (is_array($b)) {
62 62
             return new static("{$a} {$listOper} (" . implode(',', $b) . ")");
63
-        }
64
-        elseif ($b instanceof Select) {
63
+        } elseif ($b instanceof Select) {
65 64
             return new static("{$a} {$oper} {$subOper} ({$b->toSql()})");
66 65
         }
67 66
         return new static("{$a} {$oper} {$b}");
Please login to merge, or discard this patch.
src/DB/SQL/ComparisonTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
     public function is ($arg): Predicate {
30 30
         if ($arg === null or is_bool($arg)) {
31 31
             $arg = ['' => 'NULL', 1 => 'TRUE', 0 => 'FALSE'][$arg];
32
-        }
33
-        else {
32
+        } else {
34 33
             $arg = $this->db->quote($arg);
35 34
         }
36 35
         $oper = ['mysql' => '<=>', 'sqlite' => 'IS'][$this->db->getDriver()];
Please login to merge, or discard this patch.