Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 23, 2022
1 parent 3dca746 commit c9bebee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ private static function handleReturn(
$storage->signature_return_type
)
) {
$storage->return_type->addType(new TNull());
$storage->return_type = $storage->return_type->getBuilder()->addType(new TNull())->freeze();
}
}
}
Expand Down

0 comments on commit c9bebee

Please sign in to comment.