@@ -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'); |
@@ -95,8 +95,7 @@ |
||
95 | 95 | $connection = null; |
96 | 96 | if (extension_loaded("pdo_mysql")) { |
97 | 97 | $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_MySQL'); |
98 | - } |
|
99 | - else { |
|
98 | + } else { |
|
100 | 99 | throw new AuthException($this->trans->lang('No package installed to connect to a MySQL server.')); |
101 | 100 | } |
102 | 101 |