-
-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
I noticed that TypeResolver currently doesn't support the list type which is generally used as subtype of array<int, Foo>
, indicating it's an array that PHP's array_is_list()
function would return true.
It's described in more detail in Psalm's documentation for instance: https://psalm.dev/docs/annotating_code/type_syntax/array_types/#lists
From browsing the code it seems this would need to be handled in TypeResolver::resolveCollection()
.
What do you think about supporting this in this library?
Metadata
Metadata
Assignees
Labels
No labels