From ba5f7879922de39bae8e98732f5f8b89d2fc2fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 8 May 2021 11:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Snowflake.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Snowflake.php b/System/Snowflake.php index 6d688b91..42b33bc5 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -375,7 +375,7 @@ class Snowflake * @return Server|null * @throws */ - public static function getWebSocket(): ?Server + public static function getWebSocket(): ?\Swoole\Server { $server = static::app()->getSwoole(); if (!($server instanceof \Swoole\Server)) {