diff --git a/System/Di/Container.php b/System/Di/Container.php index af6125de..da647e25 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -232,7 +232,7 @@ class Container extends BaseObject $this->_constructs[$class] = $this->resolveMethodParam($construct); } - return [$reflection, $this->_constructs[$class]]; + return [$reflection, $this->_constructs[$class] ?? []]; }