Skip to content

Commit 797bbde

Browse files
authored
Merge pull request #520 from ernilambar/507-fix-doc-error
Fix doc generation error
2 parents 976b2b2 + f507083 commit 797bbde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ private static function parse_docblock( $docblock ) {
616616
if ( '}' === substr( $info, -1 ) ) {
617617
$in_param = false;
618618
}
619-
} elseif ( '@' === $info[0] ) {
619+
} elseif ( '@' !== $info[0] ) {
620620
$ret['description'] .= PHP_EOL . "{$extra_line}{$info}";
621621
} else {
622622
preg_match( '/@(\w+)/', $info, $matches );

0 commit comments

Comments
 (0)