diff --git a/library/Icinga/Cli/Documentation/CommentParser.php b/library/Icinga/Cli/Documentation/CommentParser.php index 41048489707..f692fd528d9 100644 --- a/library/Icinga/Cli/Documentation/CommentParser.php +++ b/library/Icinga/Cli/Documentation/CommentParser.php @@ -37,6 +37,7 @@ protected function parse() $p = null; foreach (preg_split('~\n~', $plain) as $line) { // Strip * at line start + /** @var string $line */ $line = preg_replace('~^\s*\*\s?~', '', $line); $line = rtrim($line); if ($this->title === null) {