|
@@ -26,7 +26,7 @@ |
|
|
block discarded – undo |
|
26
|
26
|
* |
|
27
|
27
|
* @throws \InvalidArgumentException |
|
28
|
28
|
*/ |
|
29
|
|
- protected function createConnection(string $driver, \PDO|\Closure $connection, string $database, string $prefix = '', array $config = []): SQLiteConnection|SingleStoreConnection|PostgresConnection|MySqlConnection|OracleConnection|SqlServerConnection |
|
|
29
|
+ protected function createConnection(string $driver, \PDO | \Closure $connection, string $database, string $prefix = '', array $config = []): SQLiteConnection | SingleStoreConnection | PostgresConnection | MySqlConnection | OracleConnection | SqlServerConnection |
|
30
|
30
|
{ |
|
31
|
31
|
if ($driver !== 'singlestore' && $resolver = Connection::getResolver($driver)) { |
|
32
|
32
|
return $resolver($connection, $database, $prefix, $config); // @codeCoverageIgnore |
Please login to merge, or discard this patch.