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];