This commit is contained in:
2020-09-01 03:19:40 +08:00
parent b9d13e503c
commit fd40fe922b
+2 -2
View File
@@ -102,10 +102,10 @@ class Annotation extends BaseAnnotation
*/ */
public function get($name) public function get($name)
{ {
if (!isset($this->_Scan_directory[$name])) { if (!isset($this->_classMap[$name])) {
throw new Exception('Undefined analytic class ' . $name . '.'); throw new Exception('Undefined analytic class ' . $name . '.');
} }
return $this->_Scan_directory[$name]; return $this->_classMap[$name];
} }