This commit is contained in:
as2252258@163.com
2021-02-23 02:03:10 +08:00
parent 36af0672df
commit 24c138174c
+8 -8
View File
@@ -143,14 +143,14 @@ class Container extends BaseObject
$reflection = $this->_reflection[$class];
}
if (!is_null($construct = $reflection->getConstructor())) {
$this->_constructs[$class] = $this->resolveMethodParam($construct, $constrict);
} else {
if ($class == HttpHeaders::class) {
var_dump($constrict);
}
$this->_constructs[$class] = $constrict;
}
// if (!is_null($construct = $reflection->getConstructor())) {
// $this->_constructs[$class] = $this->resolveMethodParam($construct, $constrict);
// } else {
// if ($class == HttpHeaders::class) {
// var_dump($constrict);
// }
// $this->_constructs[$class] = $constrict;
// }
return $reflection;
}