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
The method signatures are exactly the same. The narrowed type from phpdoc is correctly propagated to the child method, but with unexpected "should be contravariant" PHPStan error.
Bug report
The method signatures are exactly the same. The narrowed type from phpdoc is correctly propagated to the child method, but with unexpected "should be contravariant" PHPStan error.
Code snippet that reproduces the problem
https://phpstan.org/r/42a78688-a088-4b7a-95ac-426b82d5ef4e
Expected output
no error
The text was updated successfully, but these errors were encountered: