From 7f6a0c01e06eaca2c3002fba95de3743b796b30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 13 Jan 2022 18:41:16 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- kiri-engine/Abstracts/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/Abstracts/Component.php b/kiri-engine/Abstracts/Component.php index 5db7a6ad..4d1699e4 100644 --- a/kiri-engine/Abstracts/Component.php +++ b/kiri-engine/Abstracts/Component.php @@ -70,7 +70,7 @@ class Component implements Configure */ protected function getEventDispatch(): EventDispatch { - return Kiri::getDi()->get(EventDispatch::class); + return $this->getContainer()->get(EventDispatch::class); } /**