This commit is contained in:
as2252258@163.com
2021-02-23 03:45:14 +08:00
parent ca6fa4d9a7
commit 11b10eecac
+2 -7
View File
@@ -148,12 +148,7 @@ class Annotation extends Component
if ($method->class != $class) {
continue;
}
$tmp = $this->resolveAnnotations($method, $alias, $object);
if (empty($tmp)) {
continue;
}
$this->_classes[$reflect->getName()][$method->getName()] = $tmp;
$this->resolveAnnotations($method, $alias, $object);
}
$this->resolveProperty($reflect, $object);
}
@@ -233,7 +228,7 @@ class Annotation extends Component
//
// $this->_annotations[$alias][] = $tmp;
return $tmp;
return [];
}