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