diff --git a/HttpServer/Server.php b/HttpServer/Server.php index 025cc2e9..8449aa29 100644 --- a/HttpServer/Server.php +++ b/HttpServer/Server.php @@ -317,7 +317,7 @@ class Server extends HttpService private function dispatchCreate($config, $settings): mixed { if (!($this->swoole instanceof \Swoole\Server)) { - $this->parseServer($config, $settings); + return $this->parseServer($config, $settings); } return $this->addListener($config); }