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
In the below example, an array is populated using the same keys and values. The values are correctly inferred to be limited to 2|3|4|5, but the keys are not, resulting in a spurious error.
Bug report
In the below example, an array is populated using the same keys and values. The values are correctly inferred to be limited to 2|3|4|5, but the keys are not, resulting in a spurious error.
Code snippet that reproduces the problem
https://phpstan.org/r/d2f07757-a48b-43ed-a27f-87cdd012922a
Expected output
No error should be reported.
The text was updated successfully, but these errors were encountered: