改名
This commit is contained in:
+2
-2
@@ -82,14 +82,14 @@ if (!function_exists('annotation')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!function_exists('swoole')) {
|
if (!function_exists('swoole')) {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @return Server|null
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
function swoole(): Swoole\Server|Server
|
function swoole(): ?Server
|
||||||
{
|
{
|
||||||
return Snowflake::getWebSocket();
|
return Snowflake::getWebSocket();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user