Passed
Branch main (c5607e)
by Thierry
09:03 queued 06:49
created
src/Driver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,11 +84,9 @@
 block discarded – undo
84 84
     {
85 85
         if (class_exists("SQLite3")) {
86 86
             $connection = new Db\Sqlite\Connection($this, $this->util, $this->trans, 'SQLite3');
87
-        }
88
-        elseif (extension_loaded("pdo_sqlite")) {
87
+        } elseif (extension_loaded("pdo_sqlite")) {
89 88
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_SQLite');
90
-        }
91
-        else {
89
+        } else {
92 90
             throw new AuthException($this->trans->lang('No package installed to open a Sqlite database.'));
93 91
         }
94 92
 
Please login to merge, or discard this patch.
src/Db/Database.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@
 block discarded – undo
142 142
                 ' (' . implode(', ', $originals) . ') SELECT ' . implode(
143 143
                     ', ',
144 144
                     array_map(function ($key) {
145
-                   return $this->driver->escapeId($key);
146
-               }, array_keys($originals))
145
+                    return $this->driver->escapeId($key);
146
+                }, array_keys($originals))
147 147
                 ) . ' FROM ' . $this->driver->table($table))) {
148 148
                 return false;
149 149
             }
Please login to merge, or discard this patch.