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
I ran into this problem due to accidental incorrect overriding of a property defined in an extension stub. Therefore, I was briefly very confused why PHPStan was telling me about a PHPDoc comment that obviously did not exist at the location that the error appeared.
Bug report
I ran into this problem due to accidental incorrect overriding of a property defined in an extension stub. Therefore, I was briefly very confused why PHPStan was telling me about a PHPDoc comment that obviously did not exist at the location that the error appeared.
Code snippet that reproduces the problem
https://phpstan.org/r/b4007245-9792-4400-add7-804987901752
Expected output
The message should clarify where the @var tag is actually located, because this message is just super confusing right now.
The text was updated successfully, but these errors were encountered: