From 80cf72adc9c24d600883627327d2b1161647bbbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 4 Jan 2022 16:06:29 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- ServerManager.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ServerManager.php b/ServerManager.php index c810655..2ba4526 100644 --- a/ServerManager.php +++ b/ServerManager.php @@ -116,7 +116,6 @@ class ServerManager extends Component * @throws ConfigException * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ public function addListener(string $type, string $host, int $port, int $mode, array $settings = []) { @@ -277,7 +276,6 @@ class ServerManager extends Component * @throws ConfigException * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException * @throws Exception */ private function createBaseServer(string $type, string $host, int $port, int $mode, array $settings = []) @@ -303,7 +301,6 @@ class ServerManager extends Component * @param array $settings * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ private function addDefaultListener(array $settings): void { @@ -323,7 +320,6 @@ class ServerManager extends Component * @param Server|Port $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ private function addServiceEvents(array $events, Server|Port $server) { @@ -361,7 +357,6 @@ class ServerManager extends Component * @return void * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ private function addTaskListener(array $events = []): void { @@ -381,7 +376,6 @@ class ServerManager extends Component * @return void * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ public function bindCallback(?array $settings = []) {