Bug report
Property get hooks are covariant according to docs and RFC, so there's no problem in using covariant generics there.
Code snippet that reproduces the problem
https://phpstan.org/r/c5df35f1-15cc-45f4-89b6-685824b9c682
Expected output
No errors.
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
Property get hooks are covariant according to docs and RFC, so there's no problem in using covariant generics there.
Code snippet that reproduces the problem
https://phpstan.org/r/c5df35f1-15cc-45f4-89b6-685824b9c682
Expected output
No errors.
Did PHPStan help you today? Did it make you happy in any way?
No response