mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 02:40:50 +00:00
DocBlockAnalyzer - fix empty string return
This commit is contained in:
parent
aec99fc6e7
commit
a542a49e48
|
@ -46,7 +46,7 @@ final class DocBlockAnalyzer
|
|||
if ($type === 'deprecated') {
|
||||
$content = $annotationTags[0]->getContent();
|
||||
|
||||
return ltrim($content, '* @deprecated ');
|
||||
return trim(ltrim($content, '* @deprecated '));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user