DocBlockAnalyzer - fix empty string return

This commit is contained in:
TomasVotruba 2017-09-11 16:17:14 +02:00
parent aec99fc6e7
commit a542a49e48

View File

@ -46,7 +46,7 @@ final class DocBlockAnalyzer
if ($type === 'deprecated') {
$content = $annotationTags[0]->getContent();
return ltrim($content, '* @deprecated ');
return trim(ltrim($content, '* @deprecated '));
}
}