Errors related to `SplObjectStorage` in 2.1.34
Bug report
After updating from 2.1.33 to 2.1.34, PHPStan started to incorrectly detect the type of the value during iteration.
Code snippet that reproduces the problem
https://phpstan.org/r/bb21e577-5851-4650-8d20-0953db1ef5b1
Expected output
PHPStan should correctly recognize the type of $value
Did PHPStan help you today? Did it make you happy in any way?
Helps me every day!