Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jan 18, 2025
1 parent 10ef3b6 commit d655c39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/gen_base_callmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit d655c39

Please sign in to comment.