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:
parent
39ece995b6
commit
cadaef14e6
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user