You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ondrejmirtes
changed the title
@psalm-assert with the same array shape is broken
ConstantArrayType is not accepted into ConstantArrayType with the same description
Apr 14, 2024
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
The text was updated successfully, but these errors were encountered: