From d655c39ae36c6d4c3ba86188f2c73bed37af94ef Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 18 Jan 2025 17:32:54 +0100 Subject: [PATCH] cs-fix --- bin/gen_base_callmap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/gen_base_callmap.php b/bin/gen_base_callmap.php index 9e77aaa9e21..79fcf90ad6d 100644 --- a/bin/gen_base_callmap.php +++ b/bin/gen_base_callmap.php @@ -41,7 +41,8 @@ function typeToString($reflection_type, string $defaultType): string */ function paramsToEntries(ReflectionFunctionAbstract $reflectionFunction, string $defaultReturnType): array { - $res = PHP_VERSION_ID >= 8_01_00 ? ( + // phpcs:disable SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator.RequiredNumericLiteralSeparator + $res = PHP_VERSION_ID >= 80100 ? ( $reflectionFunction->getTentativeReturnType() ?? $reflectionFunction->getReturnType() ) : $reflectionFunction->getReturnType();