Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jan 24, 2024
1 parent a35255c commit 1498fa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Icinga/Cli/Documentation/CommentParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1498fa9

Please sign in to comment.