From 59c70095ba73eebcf4958518b74a5d9d19622b69 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 12 Apr 2021 01:42:59 +0800 Subject: [PATCH] modify --- HttpServer/Server.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/HttpServer/Server.php b/HttpServer/Server.php index 1e5dab6b..21bd94c3 100644 --- a/HttpServer/Server.php +++ b/HttpServer/Server.php @@ -51,9 +51,6 @@ class Server extends HttpService public int $daemon = 0; - private array $listenTypes = []; - - private array $process = [ 'biomonitoring' => Biomonitoring::class, 'logger_process' => LoggerProcess::class @@ -427,7 +424,7 @@ class Server extends HttpService $this->bindServerEvent($config['type']); $this->debug(sprintf('Check listen %s::%d -> ok', $config['host'], $config['port'])); - $this->listenTypes[] = $config['type']; + return $this->swoole; }