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