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 d348183 commit 43c0f13Copy full SHA for 43c0f13
src/PhpFpmConnectionFactory.php
@@ -22,7 +22,7 @@ public function __construct(string $dsn)
22
23
public function createContext(): Context
24
{
25
- $dsn = new Dsn($this->dsn);
+ $dsn = Dsn::parseFirst($this->dsn);
26
if ('unix' == $dsn->getSchemeProtocol()) {
27
$socket = new UnixDomainSocket($dsn->getPath());
28
} else if ('tcp' == $dsn->getSchemeProtocol()) {
@@ -33,4 +33,4 @@ public function createContext(): Context
33
34
return new PhpFpmContext(new Client($socket));
35
}
36
-}
+}
0 commit comments