mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
fix extra space after tag removal
This commit is contained in:
committed by
Jaap van Otterdijk
parent
bdcc0cff11
commit
763f26e8db
@@ -81,7 +81,11 @@ class Serializer
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$comment = "{$firstIndent}/**\n{$indent} * {$text}\n{$indent} *\n";
|
$comment = "{$firstIndent}/**\n";
|
||||||
|
if ($text) {
|
||||||
|
$comment .= "{$indent} * {$text}\n";
|
||||||
|
$comment .= "{$indent} *\n";
|
||||||
|
}
|
||||||
$comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
|
$comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
|
||||||
$comment .= $indent . ' */';
|
$comment .= $indent . ' */';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user