We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3708c8 commit 93ca437Copy full SHA for 93ca437
Transport/Doctrine/Connection.php
@@ -63,11 +63,10 @@ public function getConfiguration(): array
63
64
public static function buildConfiguration($dsn, array $options = [])
65
{
66
- if (false === $parsedUrl = parse_url($dsn)) {
+ if (false === $components = parse_url($dsn)) {
67
throw new InvalidArgumentException(sprintf('The given Doctrine DSN "%s" is invalid.', $dsn));
68
}
69
70
- $components = parse_url($dsn);
71
$query = [];
72
if (isset($components['query'])) {
73
parse_str($components['query'], $query);
0 commit comments