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 e21f72b commit 1986d16Copy full SHA for 1986d16
1 file changed
src/SqlConfig.php
@@ -54,7 +54,9 @@ protected static function parseConnectionString(string $connectionString, array
54
55
$offset = 0;
56
foreach ($matches as [$pair, $key, $value, $quote]) {
57
- if ($quote) {
+ \assert($value !== null);
58
+
59
+ if ($quote !== null) {
60
$value = \stripslashes(\substr($value, 1, -1));
61
62
if ($value === '') {
0 commit comments