diff --git a/Abstracts/AsyncServer.php b/Abstracts/AsyncServer.php index 1f30b63..be25eda 100644 --- a/Abstracts/AsyncServer.php +++ b/Abstracts/AsyncServer.php @@ -90,7 +90,7 @@ class AsyncServer implements ServerInterface /** * @return bool * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface + * @throws NotFoundExceptionInterface|ReflectionException */ public function shutdown(): bool { diff --git a/Server.php b/Server.php index 39bbe51..3a40e98 100644 --- a/Server.php +++ b/Server.php @@ -108,7 +108,6 @@ class Server extends HttpService $this->onHotReload(); $this->manager->initCoreServers(Config::get('server', [], true), $this->daemon); $this->manager->onSignal(Config::get('signal', [])); - $this->dispatch->dispatch(new OnServerBeforeStart()); $this->manager->start(); }