Passed
Push — master ( e266f8...ec8004 )
by y
01:45
created
src/DB/Schema.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -356,8 +356,7 @@
 block discarded – undo
356 356
             if ($this->db->isSQLite()) {
357 357
                 $info = $this->db->query("PRAGMA table_info({$name})")->fetchAll();
358 358
                 $cols = array_column($info, 'name');
359
-            }
360
-            else {
359
+            } else {
361 360
                 $cols = $this->db->query("SELECT column_name FROM information_schema.tables WHERE table_name = \"{$name}\"")->fetchAll(DB::FETCH_COLUMN);
362 361
             }
363 362
             if (!$cols) {
Please login to merge, or discard this patch.