From ada463a8e7925e2c3ba025d6ce13817e59ffed1d Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 24 Oct 2021 15:40:40 +0200 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),