From 36fc0d558fee20568866806204d365ca44a46bab Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 1 Feb 2022 14:55:45 +0000 Subject: [PATCH] Fix a typo. --- src/Type/Php/RoundFunctionReturnTypeExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Type/Php/RoundFunctionReturnTypeExtension.php b/src/Type/Php/RoundFunctionReturnTypeExtension.php index 0af6c905001..b092734785f 100644 --- a/src/Type/Php/RoundFunctionReturnTypeExtension.php +++ b/src/Type/Php/RoundFunctionReturnTypeExtension.php @@ -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),