| @@ -12,8 +12,8 @@ | ||
| 12 | 12 | class Connection extends AbstractConnection | 
| 13 | 13 |  { | 
| 14 | 14 | /** | 
| 15 | - * @inheritDoc | |
| 16 | - */ | |
| 15 | + * @inheritDoc | |
| 16 | + */ | |
| 17 | 17 | public function open(string $database, string $schema = '') | 
| 18 | 18 |      { | 
| 19 | 19 |          $server = $this->driver->options('server'); | 
| @@ -94,11 +94,9 @@ | ||
| 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 | |