Skip to content

Commit

Permalink
Fix doc generation error
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Jun 28, 2024
1 parent 976b2b2 commit f507083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/command.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ private static function parse_docblock( $docblock ) {
if ( '}' === substr( $info, -1 ) ) {
$in_param = false;
}
} elseif ( '@' === $info[0] ) {
} elseif ( '@' !== $info[0] ) {
$ret['description'] .= PHP_EOL . "{$extra_line}{$info}";
} else {
preg_match( '/@(\w+)/', $info, $matches );
Expand Down

0 comments on commit f507083

Please sign in to comment.