phpdoc-parser icon indicating copy to clipboard operation
phpdoc-parser copied to clipboard

Wrong docblock for hooks with multiple usages

Open JDGrimes opened this issue 10 years ago • 5 comments

When a hook is used multiple times, the wrong docblock will get associated with it if the usage with just the This hook is documented in file.php type docblock is parsed after the canonical one. Examples:

Related: #43, #94

JDGrimes avatar Apr 06 '15 21:04 JDGrimes

Looks like this is no longer an issue.

johnbillion avatar Dec 16 '15 19:12 johnbillion

@coffee2code Did you do something specific on .org to fix this issue or was this fixed in the parser?

Ping @DrewAPicture

atimmer avatar Dec 29 '15 20:12 atimmer

@atimmer We fix them as we find them. @coffee2code typically will fix it in the reparsing (such as for a point release).

DrewAPicture avatar Dec 30 '15 00:12 DrewAPicture

Ah, so this is still an issue in the parser.

atimmer avatar Dec 30 '15 09:12 atimmer

Any updates on this issue?

seb86 avatar Jul 11 '22 17:07 seb86