This commit is contained in:
Evan Villemez 2012-09-10 09:46:52 -04:00
parent 29c3798124
commit a8b656f3a0
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ class JmsMetadataParser implements ParserInterface
{
$ref = new \ReflectionClass($className);
$extracted = $this->commentExtractor->getDocCommentText($ref->getProperty($propertyName));
return !empty($extracted) ? $extracted : "No description.";
}