From 656038dc7dd4fa0ad27ff03b6602e017d65c7a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 16 Apr 2023 02:21:25 +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/Abstracts/Providers.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiri-engine/Abstracts/Providers.php b/kiri-engine/Abstracts/Providers.php index 7928f4e7..9a5a34e9 100644 --- a/kiri-engine/Abstracts/Providers.php +++ b/kiri-engine/Abstracts/Providers.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace Kiri\Abstracts; -use Exception; +use Kiri\Di\Inject\Container; use Psr\Container\ContainerInterface; /** @@ -18,6 +18,7 @@ abstract class Providers extends Component implements Provider /** * @var ContainerInterface */ + #[Container(ContainerInterface::class)] public ContainerInterface $container; }