Bug report
looks like a regerssion from 2.1.15.
I don't see the errors with 2.1.14
Code snippet that reproduces the problem
https://phpstan.org/r/e45fb3ad-6638-49f0-90e0-79f83d89a7ca
Expected output
no error
Did PHPStan help you today? Did it make you happy in any way?
No response