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

Fix double mixed issue with array offsets

This commit is contained in:
Matt Brown 2017-11-17 11:32:12 -05:00
parent 965352c711
commit 6710fd4231

View File

@ -1278,9 +1278,7 @@ class FetchChecker
)) {
return false;
}
}
if ($invalid_offset_types) {
} elseif ($invalid_offset_types) {
$invalid_offset_type = $invalid_offset_types[0];
if ($has_valid_offset) {