Passed
Push — main ( 9612b3...41c72c )
by Thierry
01:34
created
src/Driver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,11 +85,9 @@
 block discarded – undo
85 85
         $connection = null;
86 86
         if (class_exists("SQLite3")) {
87 87
             $connection = new Db\Sqlite\Connection($this, $this->util, $this->trans, 'SQLite3');
88
-        }
89
-        elseif (extension_loaded("pdo_sqlite")) {
88
+        } elseif (extension_loaded("pdo_sqlite")) {
90 89
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_SQLite');
91
-        }
92
-        else {
90
+        } else {
93 91
             throw new AuthException($this->trans->lang('No package installed to open a Sqlite database.'));
94 92
         }
95 93
 
Please login to merge, or discard this patch.
src/Db/Table.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -328,8 +328,8 @@
 block discarded – undo
328 328
                 " (" . implode(", ", $originals) . ") SELECT " . implode(
329 329
                     ", ",
330 330
                     array_map(function ($key) {
331
-                   return $this->driver->escapeId($key);
332
-               }, array_keys($originals))
331
+                    return $this->driver->escapeId($key);
332
+                }, array_keys($originals))
333 333
                 ) . " FROM " . $this->driver->table($table))) {
334 334
                 return false;
335 335
             }
Please login to merge, or discard this patch.