Passed
Push — master ( 5d6c6e...7e3b1d )
by y
01:51
created
src/DB.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,8 +157,7 @@
 block discarded – undo
157 157
             if ($this->isSQLite()) {
158 158
                 $info = $this->query("PRAGMA table_info({$this->quote($name)})")->fetchAll();
159 159
                 $cols = array_column($info, 'name');
160
-            }
161
-            else {
160
+            } else {
162 161
                 $cols = $this->query(
163 162
                     "SELECT column_name FROM information_schema.tables WHERE table_name = {$this->quote($name)}"
164 163
                 )->fetchAll(self::FETCH_COLUMN);
Please login to merge, or discard this patch.