- Fixed missing tags from traits
This commit is contained in:
1 parent
5f00c2b603
commit
0fcff83eac
2 files changed
+10
-10
No files matched your search
@@ -34,12 +34,12 @@ class AnnotationReader
|
||||
return $this->parseDocComment($method);
|
||||
}
|
||||
|
||||
protected function parseDocComment(Reflector $reflect)
|
||||
protected function parseDocComment(\Reflector $reflect)
|
||||
{
|
||||
$tags = [];
|
||||
|
||||
if ( $reflect->getAttributes() ) {
|
||||
foreach($reflect->getAttributes() as $attr) {
|
||||
if ( $attributes = $reflect->getAttributes() ) {
|
||||
foreach($attributes as $attr) {
|
||||
try {
|
||||
$tags[] = [
|
||||
'tag' => substr(strrchr($attr->getName(), "\\"), 1),
|
||||
|
||||
Reference in new issue
Block a user