mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
refacto: 100% type coverage
This commit is contained in:
@ -147,11 +147,11 @@ final class TestCaseMethodFactory
|
||||
}
|
||||
|
||||
$annotations = implode('', array_map(
|
||||
static fn ($annotation): string => sprintf("\n * %s", $annotation), $annotations,
|
||||
static fn (string $annotation): string => sprintf("\n * %s", $annotation), $annotations,
|
||||
));
|
||||
|
||||
$attributes = implode('', array_map(
|
||||
static fn ($attribute): string => sprintf("\n %s", $attribute), $attributes,
|
||||
static fn (string $attribute): string => sprintf("\n %s", $attribute), $attributes,
|
||||
));
|
||||
|
||||
return <<<PHP
|
||||
|
||||
Reference in New Issue
Block a user