From e70d9d7a96ec259c8d9a0d938fa52c2870f0cb08 Mon Sep 17 00:00:00 2001 From: Mohamad Faeez Date: Wed, 9 Apr 2025 14:24:56 +0800 Subject: [PATCH] Updates --- src/Ratchet/Server/IoServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ratchet/Server/IoServer.php b/src/Ratchet/Server/IoServer.php index c89a85a..45b66fe 100644 --- a/src/Ratchet/Server/IoServer.php +++ b/src/Ratchet/Server/IoServer.php @@ -54,7 +54,7 @@ class IoServer { * @param string $address The address to receive sockets on (0.0.0.0 means receive connections from any) * @return IoServer */ - public static function factory(MessageComponentInterface $component, integer|null $port = null, string|null $address = null) { + public static function factory(MessageComponentInterface $component, ?int $port = null, ?string $address = null) { if ($port == null) $port = 80; if ($address == null) $address = '0.0.0.0';