From fe1f71a0510aeb5df28b6ebcb8a7e65e8cefd87f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 17 Dec 2020 14:10:01 +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 --- HttpServer/Service/Abstracts/Server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpServer/Service/Abstracts/Server.php b/HttpServer/Service/Abstracts/Server.php index 915cbd93..40859272 100644 --- a/HttpServer/Service/Abstracts/Server.php +++ b/HttpServer/Service/Abstracts/Server.php @@ -43,11 +43,11 @@ trait Server /** - * @return mixed + * @return void * @throws NotFindClassException * @throws ReflectionException */ - public function onHandlerListener(): mixed + public function onHandlerListener(): void { $this->on('WorkerStop', $this->createHandler('workerStop')); $this->on('WorkerExit', $this->createHandler('workerExit'));