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
array_map can accept a variable length argument after the second argument, but if you use the spread syntax added since PHP 7.4, the type is not correctly inferred and a type mismatch occurs.
Bug report
array_map
can accept a variable length argument after the second argument, but if you use the spread syntax added since PHP 7.4, the type is not correctly inferred and a type mismatch occurs.Code snippet that reproduces the problem
https://phpstan.org/r/7ce82708-6a53-4e31-8c8d-97dd46bb6bb4
Expected output
Expect no errors
Did PHPStan help you today? Did it make you happy in any way?
I feel the benefits of my work and hobbies almost every day! <3
The text was updated successfully, but these errors were encountered: