From 1fe416c4c44842f39899761f87b534a050fc81d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 20 Jul 2023 15:02:06 +0800 Subject: [PATCH] qqq --- Server.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Server.php b/Server.php index 16de20b..85ee3a6 100644 --- a/Server.php +++ b/Server.php @@ -11,7 +11,7 @@ use Kiri\Server\Events\OnShutdown; use Kiri\Server\Events\OnTaskerStart; use Kiri\Server\Events\OnWorkerStart; use Kiri\Server\Events\OnWorkerStop; -use Kiri\Server\Abstracts\CoroutineServer; +use Kiri\Server\Abstracts\AsyncServer; use Psr\Container\ContainerExceptionInterface; use Psr\Container\NotFoundExceptionInterface; use ReflectionException; @@ -45,14 +45,14 @@ class Server */ public function __construct() { - $this->class = \config('server.type', CoroutineServer::class); + $this->class = \config('server.type', AsyncServer::class); } /** * @throws ReflectionException */ - private function manager(): CoroutineServer + private function manager(): AsyncServer { return Kiri::getDi()->get($this->class); }