diff --git a/library/Icinga/Cli/Documentation/CommentParser.php b/library/Icinga/Cli/Documentation/CommentParser.php index 410484897..778a8cc25 100644 --- a/library/Icinga/Cli/Documentation/CommentParser.php +++ b/library/Icinga/Cli/Documentation/CommentParser.php @@ -10,6 +10,7 @@ class CommentParser protected $raw; protected $plain; protected $title; + /** @var array $paragraphs */ protected $paragraphs = array(); public function __construct($raw) @@ -37,6 +38,7 @@ class CommentParser $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) {