This commit is contained in:
2021-05-08 11:10:29 +08:00
parent dc42d7d935
commit 5c34214b0e
+1 -1
View File
@@ -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;