From e39a63523ea9a7332608f9a332c2ad342a4a738b Mon Sep 17 00:00:00 2001 From: as2252258 Date: Sun, 10 Jul 2022 01:19:10 +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 --- kiri-engine/Reload/Inotify.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiri-engine/Reload/Inotify.php b/kiri-engine/Reload/Inotify.php index e2188ef7..7f992acb 100644 --- a/kiri-engine/Reload/Inotify.php +++ b/kiri-engine/Reload/Inotify.php @@ -7,6 +7,7 @@ use Kiri\Abstracts\Config; use Kiri\Annotation\Inject; use Kiri\Error\StdoutLoggerInterface; use Kiri\Server\Abstracts\BaseProcess; +use Kiri\Server\ServerInterface; use Swoole\Event; use Swoole\Process; use Swoole\Timer; @@ -142,7 +143,7 @@ class Inotify extends BaseProcess */ public function reload() { - $swollen = \Kiri::getDi()->get(SwooleServerInterface::class); + $swollen = \Kiri::getDi()->get(ServerInterface::class); $swollen->reload();