mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Add support for iteration over object-like arrays
This commit is contained in:
parent
fb30b79a11
commit
a141ffe3cf
@ -1893,6 +1893,7 @@ class StatementsChecker
|
||||
|
||||
case 'array':
|
||||
case 'object':
|
||||
case 'object-like':
|
||||
$value_type = Type::getMixed();
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user