Closed
Description
Bug report
There is some internal issue. In the repro, all types are the same.
Even more interesting - when the type is defined manually (uncomment the l35 to reproduce) - the issue is gone.
Code snippet that reproduces the problem
https://phpstan.org/r/850078c3-6db8-41a7-a888-bc5d7517e8fe
Expected output
no phpstan error