Skip to content

Commit e2244f6

Browse files
committed
wamp
1 parent 5ca3e96 commit e2244f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WampConnectionFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private function parseDsn(string $dsn): array
9393
{
9494
$dsn = new Dsn($dsn);
9595

96-
if ('wamp' !== $dsn->getSchemeProtocol()) {
96+
if (false === in_array($dsn->getSchemeProtocol(), ['wamp', 'ws'], true)) {
9797
throw new \LogicException(sprintf(
9898
'The given scheme protocol "%s" is not supported. It must be "wamp"',
9999
$dsn->getSchemeProtocol()

0 commit comments

Comments
 (0)