mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix nullref
This commit is contained in:
parent
604c875d0c
commit
6cd63cc0f3
@ -2629,6 +2629,10 @@ class ExpressionChecker
|
||||
|
||||
|
||||
foreach ($closure_arg->params as $i => $closure_param) {
|
||||
if (!$array_arg_types[$i]) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$translated_param = FunctionLikeChecker::getTranslatedParam(
|
||||
$closure_param,
|
||||
$statements_checker->getAbsoluteClass(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user