Passed
Push — main ( c16d56...308c0b )
by Thierry
02:18
created
src/Driver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,11 +94,9 @@
 block discarded – undo
94 94
     {
95 95
         if (extension_loaded("mysqli")) {
96 96
             $connection = new Db\MySqli\Connection($this, $this->util, $this->trans, 'MySQLi');
97
-        }
98
-        elseif (extension_loaded("pdo_mysql")) {
97
+        } elseif (extension_loaded("pdo_mysql")) {
99 98
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_MySQL');
100
-        }
101
-        else {
99
+        } else {
102 100
             throw new AuthException($this->trans->lang('No package installed to connect to a MySQL server.'));
103 101
         }
104 102
 
Please login to merge, or discard this patch.