Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -297,22 +297,6 @@ if (!function_exists('injectRuntime')) {
|
||||
}
|
||||
|
||||
|
||||
if (!function_exists('swoole')) {
|
||||
|
||||
|
||||
/**
|
||||
* @return Server|null
|
||||
* @throws Exception
|
||||
*/
|
||||
function swoole(): ?Server
|
||||
{
|
||||
return Kiri::getWebSocket();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (!function_exists('directory')) {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user