From ec8a6f5823fe0a680c5445c6534d5d79fd1ee3c8 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Sun, 8 Oct 2023 11:10:22 -0500 Subject: [PATCH] Fix README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09d54a5..d1b5889 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ $clientHandler = new class implements WebsocketClientHandler { } }; -$websocket = new Websocket($logger, $handshakeHandler, $clientHandler); +$websocket = new Websocket($server, $logger, $handshakeHandler, $clientHandler); $router = new Router($server, new NullLogger(), $errorHandler); $router->addRoute('GET', '/broadcast', $websocket);