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 5ca3e96 commit e2244f6Copy full SHA for e2244f6
WampConnectionFactory.php
@@ -93,7 +93,7 @@ private function parseDsn(string $dsn): array
93
{
94
$dsn = new Dsn($dsn);
95
96
- if ('wamp' !== $dsn->getSchemeProtocol()) {
+ if (false === in_array($dsn->getSchemeProtocol(), ['wamp', 'ws'], true)) {
97
throw new \LogicException(sprintf(
98
'The given scheme protocol "%s" is not supported. It must be "wamp"',
99
$dsn->getSchemeProtocol()
0 commit comments