From fd40fe922b962279584857be75b37cf845ae16da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 1 Sep 2020 03:19:40 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Annotation/Annotation.php b/system/Annotation/Annotation.php index 58ce50cc..0df43547 100644 --- a/system/Annotation/Annotation.php +++ b/system/Annotation/Annotation.php @@ -102,10 +102,10 @@ class Annotation extends BaseAnnotation */ public function get($name) { - if (!isset($this->_Scan_directory[$name])) { + if (!isset($this->_classMap[$name])) { throw new Exception('Undefined analytic class ' . $name . '.'); } - return $this->_Scan_directory[$name]; + return $this->_classMap[$name]; }