Skip to content

Commit 55c49a6

Browse files
committed
trim phpdoc
1 parent a8ab087 commit 55c49a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/src/Method.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getPhpDoc(): string
102102
{
103103
$str = "/**\n".
104104
implode("\n", array_map(function (string $line) {
105-
return ' * '.ltrim($line);
105+
return rtrim(' * '.ltrim($line));
106106
}, \explode("\n", \strip_tags($this->getDocBlock()))))
107107
."\n */\n";
108108

0 commit comments

Comments
 (0)