mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 09:47:23 +01:00
release: v2.25.0
This commit is contained in:
@ -6,7 +6,7 @@ namespace Pest;
|
||||
|
||||
function version(): string
|
||||
{
|
||||
return '2.24.3';
|
||||
return '2.25.0';
|
||||
}
|
||||
|
||||
function testDirectory(string $file = ''): string
|
||||
|
||||
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user