Skip to content

Commit 667fe84

Browse files
committed
Fix CS
1 parent ee38f85 commit 667fe84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/dbal/DbalConnectionFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ private function parseDsn(string $dsn, ?array $config = null): array
155155

156156
// replace scheme with the matching one from the supported list, but the prefixes there are "pdo-" not "pdo_"
157157
$dsn = preg_replace(
158-
'/^' . preg_quote($parsedDsn->getScheme(), '/') . '(:|:\/\/)/',
159-
str_replace('_','-', $supported[$parsedDsn->getScheme()]) . '$1',
158+
'/^'.preg_quote($parsedDsn->getScheme(), '/').'(:|:\/\/)/',
159+
str_replace('_','-', $supported[$parsedDsn->getScheme()]).'$1',
160160
$dsn,
161161
);
162162

0 commit comments

Comments
 (0)