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),