This commit is contained in:
as2252258@163.com
2021-02-23 03:27:22 +08:00
parent eb5775b134
commit 142b64dec8
+3 -3
View File
@@ -178,9 +178,9 @@ class Container extends BaseObject
} else {
$reflection = $this->_reflection[$class];
}
// if (!is_null($construct = $reflection->getConstructor())) {
// $constrict = $this->resolveMethodParam($construct);
// }
if (!is_null($construct = $reflection->getConstructor())) {
$constrict = $this->resolveMethodParam($construct);
}
return [$reflection, $constrict];
}