From a64fa8f493068d4b72b79b8436b8be46e1f4535f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 8 Dec 2021 11:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ServerManager.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ServerManager.php b/ServerManager.php index f81b368..9c3606b 100644 --- a/ServerManager.php +++ b/ServerManager.php @@ -291,7 +291,7 @@ class ServerManager extends Component $id = Config::get('id', 'system-service'); - $this->logger->debug(sprintf('[%s]' . $type . ' service %s::%d start', $id, $host, $port)); + $this->logger->debug(sprintf('[%s].' . $type . ' service %s::%d start', $id, $host, $port)); $this->addDefaultListener($settings); } @@ -356,8 +356,10 @@ class ServerManager extends Component /** * @param array $events + * @return void * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface + * @throws ReflectionException */ private function addTaskListener(array $events = []): void { @@ -374,8 +376,10 @@ class ServerManager extends Component /** * @param array|null $settings + * @return void * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface + * @throws ReflectionException */ public function bindCallback(?array $settings = []) {