From ee46ba2474163ec0f142990bb2dc9e5cd349d843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 13 Aug 2021 16:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Inject.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Annotation/Inject.php b/Annotation/Inject.php index 14b575a8..1d8b6fd1 100644 --- a/Annotation/Inject.php +++ b/Annotation/Inject.php @@ -94,12 +94,6 @@ use Server\ResponseInterface; */ private function parseInjectValue(): mixed { - if (Context::hasContext($this->value)) { - return Context::getContext($this->value); - } - if ($this->value == ResponseInterface::class) { - var_dump($this->value, class_exists($this->value)); - } if (class_exists($this->value)) { return Kiri::getDi()->get($this->value, $this->args); } else if (Kiri::app()->has($this->value)) {