1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix nullref

This commit is contained in:
Matthew Brown 2016-10-30 12:51:41 -04:00
parent 604c875d0c
commit 6cd63cc0f3

View File

@ -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(),