mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-17 17:47:13 +00:00
trim_empty_docblock_whitespaces Trim whitespaces from phpdocs without content (#28)
This commit is contained in:
@@ -409,6 +409,6 @@ class Tag implements \Reflector
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return "@{$this->getName()} {$this->getContent()}";
|
||||
return trim("@{$this->getName()} {$this->getContent()}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user