1
0
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:
Matthew Brown 2016-10-02 09:50:24 -04:00
parent fb30b79a11
commit a141ffe3cf

View File

@ -1893,6 +1893,7 @@ class StatementsChecker
case 'array':
case 'object':
case 'object-like':
$value_type = Type::getMixed();
break;