From aa07ca22b4df51756be0807a8a62ed4068f9974b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 1 Sep 2020 03:48:18 +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 --- system/Annotation/Annotation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Annotation/Annotation.php b/system/Annotation/Annotation.php index b52d4da5..2fc85498 100644 --- a/system/Annotation/Annotation.php +++ b/system/Annotation/Annotation.php @@ -200,7 +200,7 @@ class Annotation extends BaseAnnotation */ public function pop($name) { - if (!isset($this->_Scan_directory[$name])) { + if (isset($this->_Scan_directory[$name])) { return [$this->_Scan_directory[$name], $this->params[$name] ?? []]; } return [null, null];