Passed
Branch main (0c0af5)
by Thierry
07:04 queued 04:43
created
src/Driver.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,11 +91,9 @@
 block discarded – undo
91 91
     {
92 92
         if (extension_loaded("pgsql")) {
93 93
             $connection = new Db\PgSql\Connection($this, $this->util, $this->trans, 'PgSQL');
94
-        }
95
-        elseif (extension_loaded("pdo_pgsql")) {
94
+        } elseif (extension_loaded("pdo_pgsql")) {
96 95
             $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_PgSQL');
97
-        }
98
-        else {
96
+        } else {
99 97
             throw new AuthException($this->trans->lang('No package installed to connect to a PostgreSQL server.'));
100 98
         }
101 99
 
Please login to merge, or discard this patch.