release: v2.25.0

This commit is contained in:
Nuno Maduro
2023-11-22 07:17:30 +00:00
parent c8d3e1a9fa
commit 83f8de17c8
5 changed files with 5 additions and 5 deletions

View File

@ -190,7 +190,7 @@ final class Reflection
}
$arguments[$parameter->getName()] = implode('|', array_map(
static fn (ReflectionNamedType $type): string => $type->getName(),
static fn (ReflectionNamedType $type): string => $type->getName(), // @phpstan-ignore-line
($types instanceof ReflectionNamedType)
? [$types] // NOTE: normalize as list of to handle unions
: $types->getTypes(),