From 6447dce588caabfb7a57c7842ccaf7668b7d8992 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 23 Feb 2021 01:52:04 +0800 Subject: [PATCH] modify --- System/Di/Container.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/System/Di/Container.php b/System/Di/Container.php index 448eeaef..5e366941 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -145,6 +145,9 @@ class Container extends BaseObject 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;