1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Provide fallback if array keys not found

This commit is contained in:
Matthew Brown 2017-11-19 14:23:39 -05:00
parent 95429b7037
commit f18616b2f9

View File

@ -946,6 +946,8 @@ class FetchChecker
}
$invalid_offset_types[] = $expected_keys_string;
$array_access_type = Type::getMixed();
}
} elseif (TypeChecker::isContainedBy(
$project_checker,