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

Carry forward ignore_nullable_return in fleshOutType

This commit is contained in:
Matt Brown 2017-05-10 12:49:59 -04:00
parent 39ece995b6
commit cadaef14e6

View File

@ -1498,6 +1498,7 @@ class ExpressionChecker
$fleshed_out_type = new Type\Union($new_return_type_parts);
$fleshed_out_type->from_docblock = $return_type->from_docblock;
$fleshed_out_type->ignore_nullable_issues = $return_type->ignore_nullable_issues;
return $fleshed_out_type;
}