Skip to content

Commit 5a3e22c

Browse files
authored
trim_empty_docblock_whitespaces Trim whitespaces from phpdocs without content (#28)
1 parent b6ff9f9 commit 5a3e22c

File tree

1 file changed

+1
-1
lines changed
  • src/Barryvdh/Reflection/DocBlock

1 file changed

+1
-1
lines changed

src/Barryvdh/Reflection/DocBlock/Tag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,6 @@ public static function export()
409409
*/
410410
public function __toString()
411411
{
412-
return "@{$this->getName()} {$this->getContent()}";
412+
return trim("@{$this->getName()} {$this->getContent()}");
413413
}
414414
}

0 commit comments

Comments
 (0)