You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an html tag as the first part of the desciprtion of the @return statement, PHPStan returns the error PHPDoc tag @return contains unresolvable type.:
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
This only occurs with the characters < and & as the first char of the description. All other cases I tested worked out fine.
Bug report
When using an html tag as the first part of the desciprtion of the
@return
statement, PHPStan returns the errorPHPDoc tag @return contains unresolvable type.
:This only occurs with the characters < and & as the first char of the description. All other cases I tested worked out fine.
Code snippet that reproduces the problem
https://phpstan.org/r/6bd09036-ee66-4fd4-9e69-6d4a5b51fb83
Expected output
I found nothing against using html in the start of a PHPdoc description, so this snippet shouldn't return an error.
The text was updated successfully, but these errors were encountered: