From e965a658e79c2c03359cfc309317237b5509ac75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 22 Feb 2021 20:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Di/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Di/Container.php b/System/Di/Container.php index c680e42c..f312e891 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -69,7 +69,7 @@ class Container extends BaseObject * @throws NotFindClassException * @throws ReflectionException */ - public function get($class, $constrict = null, $config = null): mixed + public function get($class, $constrict = [], $config = []): mixed { if (isset($this->_singletons[$class])) { return $this->_singletons[$class];