From ab6c5820259990659246aa826d1cef5de7253518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 23 Jun 2022 00:26:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Abstracts/AsyncServer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Abstracts/AsyncServer.php b/Abstracts/AsyncServer.php index 7b25115..d7cd725 100644 --- a/Abstracts/AsyncServer.php +++ b/Abstracts/AsyncServer.php @@ -92,7 +92,6 @@ class AsyncServer implements ServerInterface * @return void * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface - * @throws ReflectionException */ public function shutdown(): void { @@ -203,7 +202,7 @@ class AsyncServer implements ServerInterface public function onSigint($no, array $signInfo): void { try { - $this->logger->alert('Pid ' . getmypid() . ' get signo ' . $no, $signInfo); + $this->logger->alert('Pid ' . getmypid() . ' get signo ' . $no); $this->shutdown(); } catch (\Throwable $exception) { $this->logger->error($exception->getMessage());