mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +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;
|
$invalid_offset_types[] = $expected_keys_string;
|
||||||
|
|
||||||
|
$array_access_type = Type::getMixed();
|
||||||
}
|
}
|
||||||
} elseif (TypeChecker::isContainedBy(
|
} elseif (TypeChecker::isContainedBy(
|
||||||
$project_checker,
|
$project_checker,
|
||||||
|
Loading…
Reference in New Issue
Block a user