From 5c34214b0e8dbf5b6c17bdc2bef42a78e2f696cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 8 May 2021 11:10:29 +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 3088272d..6d688b91 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -378,7 +378,7 @@ class Snowflake public static function getWebSocket(): ?Server { $server = static::app()->getSwoole(); - if (!($server instanceof Server)) { + if (!($server instanceof \Swoole\Server)) { return null; } return $server;