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
As stated in the doc, numeric keys should be expected:
The returned array will preserve the keys of the array argument if and only if exactly one array is passed. If more than one array is passed, the returned array will have sequential integer keys.
Did PHPStan help you today? Did it make you happy in any way?
The text was updated successfully, but these errors were encountered:
Bug report
If using array_map with two or more arrays, resulting array keys are inferred wrong.
Code snippet that reproduces the problem
https://phpstan.org/r/6e13bd6d-b90f-4577-9c3d-da16da9eaa77
Expected output
As stated in the doc, numeric keys should be expected:
Did PHPStan help you today? Did it make you happy in any way?
The text was updated successfully, but these errors were encountered: