改名
This commit is contained in:
@@ -82,7 +82,7 @@ class Server extends HttpService
|
||||
foreach ($processes as $process) {
|
||||
$this->manager->addProcess($process);
|
||||
}
|
||||
Runtime::enableCoroutine(true, SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION);
|
||||
// Runtime::enableCoroutine(true, SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION);
|
||||
|
||||
return $this->manager->getServer()->start();
|
||||
}
|
||||
|
||||
@@ -77,7 +77,6 @@ class ServerManager
|
||||
|
||||
|
||||
/**
|
||||
* @throws NotFindClassException
|
||||
* @throws ReflectionException
|
||||
* @throws ConfigException
|
||||
*/
|
||||
@@ -202,8 +201,8 @@ class ServerManager
|
||||
|
||||
|
||||
/**
|
||||
* @param $key
|
||||
* @param $value
|
||||
* @param string $key
|
||||
* @param string|int $value
|
||||
*/
|
||||
public static function setEnv(string $key, string|int $value): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user