This commit is contained in:
2021-02-22 20:12:20 +08:00
parent 1715043c0e
commit e965a658e7
+1 -1
View File
@@ -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];