fix extra space after tag removal

This commit is contained in:
TomasVotruba
2017-11-30 08:14:17 +01:00
committed by Jaap van Otterdijk
parent bdcc0cff11
commit 763f26e8db
+5 -1
View File
@@ -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 .= $indent . ' */';