1
0
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:
Brown 2020-09-07 15:14:14 -04:00 committed by Daniil Gentili
parent 2facbe55dc
commit 8ae7c27244
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -386,8 +386,9 @@ class ArgumentsAnalyzer
);
if (!$type_match_found) {
$newly_inferred_type = clone $param_storage->type;
continue;
$newly_inferred_type = null;
break;
}
}