Bug report
since 2.2.3 the snippet started to error with
Parameter #2 $value of method HelloWorld::offsetSet() expects Closure(static): T, (Closure(static): T)|(Closure&T of object) given.
in 2.2.2 this snippet did not contain errors
similar problems seem to be fixed with phpstan/phpstan-src@a1b7b38
Code snippet that reproduces the problem
https://phpstan.org/r/ac2591de-f515-451b-823c-b302623d5238
Expected output
no errors
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
since 2.2.3 the snippet started to error with
in 2.2.2 this snippet did not contain errors
similar problems seem to be fixed with phpstan/phpstan-src@a1b7b38
Code snippet that reproduces the problem
https://phpstan.org/r/ac2591de-f515-451b-823c-b302623d5238
Expected output
no errors
Did PHPStan help you today? Did it make you happy in any way?
No response