mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix real projects bug
This commit is contained in:
parent
2facbe55dc
commit
8ae7c27244
@ -386,8 +386,9 @@ class ArgumentsAnalyzer
|
||||
);
|
||||
|
||||
if (!$type_match_found) {
|
||||
$newly_inferred_type = clone $param_storage->type;
|
||||
continue;
|
||||
$newly_inferred_type = null;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user