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:
parent
95429b7037
commit
f18616b2f9
@ -946,6 +946,8 @@ class FetchChecker
|
||||
}
|
||||
|
||||
$invalid_offset_types[] = $expected_keys_string;
|
||||
|
||||
$array_access_type = Type::getMixed();
|
||||
}
|
||||
} elseif (TypeChecker::isContainedBy(
|
||||
$project_checker,
|
||||
|
Loading…
Reference in New Issue
Block a user