trim_empty_docblock_whitespaces Trim whitespaces from phpdocs without content (#28)

This commit is contained in:
func0der
2025-06-19 15:09:12 +02:00
committed by GitHub
parent b6ff9f9360
commit 5a3e22c213
+1 -1
View File
@@ -409,6 +409,6 @@ class Tag implements \Reflector
*/ */
public function __toString() public function __toString()
{ {
return "@{$this->getName()} {$this->getContent()}"; return trim("@{$this->getName()} {$this->getContent()}");
} }
} }