Passed
Push — master ( 08d227...34628b )
by y
01:23
created
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 (string $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.