Skip to content

Commit

Permalink
Fix a typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Feb 1, 2022
1 parent a2c88f4 commit 36fc0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Php/RoundFunctionReturnTypeExtension.php
Expand Up @@ -36,7 +36,7 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
if (PHP_VERSION_ID >= 80000) {
// PHP 8 fatals with a missing parameter.
$noArgsReturnType = new NeverType(true);
// PHP 7 can return either a float or fatal.
// PHP 8 can return either a float or fatal.
$defaultReturnType = new BenevolentUnionType([
new FloatType(),
new NeverType(true),
Expand Down

0 comments on commit 36fc0d5

Please sign in to comment.