Skip to content

Commit

Permalink
Only refine for matching closure union members
Browse files Browse the repository at this point in the history
Ref #4136
  • Loading branch information
muglug committed Sep 15, 2020
1 parent f83c96e commit d03e5ef
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,7 @@ private static function handleClosureArg(
);

if (!$type_match_found) {
$newly_inferred_type = null;

break;
continue;
}
}

Expand Down

0 comments on commit d03e5ef

Please sign in to comment.