Bug report
Looking at the reproducer, after upgrading from 2.1.8 to 2.1.11 we get the offset may not exist message.
Code snippet that reproduces the problem
https://phpstan.org/r/04f49ec6-ac43-4873-8af7-856c6f24246d
Expected output
no warning should be emitted
Did PHPStan help you today? Did it make you happy in any way?
No response