Skip to content

Commit

Permalink
Add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Feb 8, 2022
1 parent 692fc23 commit ed554e5
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -1004,6 +1004,9 @@ private static function handleReturn(
}
}
}
if (!$new) {
throw new \RuntimeException('Impossible!');
}
$storage->signature_return_type = new Union($new);
}

Expand Down

0 comments on commit ed554e5

Please sign in to comment.