diff --git a/src/WebsocketHandshake.php b/src/WebsocketHandshake.php index 38089fa..e1af261 100644 --- a/src/WebsocketHandshake.php +++ b/src/WebsocketHandshake.php @@ -236,6 +236,7 @@ private static function makeUri(PsrUri|string $uri): PsrUri { if (\is_string($uri)) { try { + /** @psalm-suppress DeprecatedMethod Using deprecated method to support 6.x and 7.x of league/uri */ $uri = Uri\Http::createFromString($uri); } catch (\Exception $exception) { throw new \ValueError('Invalid Websocket URI provided', 0, $exception);