This commit is contained in:
2021-05-08 11:11:03 +08:00
parent 5c34214b0e
commit ba5f787992
+1 -1
View File
@@ -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)) {