Resolve displaying @return types with descriptions (#491)

This commit is contained in:
Neil Farrington
2017-04-14 08:56:19 +02:00
committed by Barry vd. Heuvel
parent 3ab73555d9
commit 3814fe86ca
+1 -1
View File
@@ -741,7 +741,7 @@ class ModelsCommand extends Command
$phpdoc = new DocBlock($reflection);
if ($phpdoc->hasTag('return')) {
$type = $phpdoc->getTagsByName('return')[0]->getContent();
$type = $phpdoc->getTagsByName('return')[0]->getType();
}
return $type;