enforce class-string for attributes

This commit is contained in:
danilopolani
2022-03-08 14:57:17 +01:00
parent d0136b63d4
commit 15e2e1711b

View File

@ -38,7 +38,7 @@ final class TestCaseFactory
/** /**
* The list of annotations. * The list of annotations.
* *
* @var array<int, class-string> * @var array<int, class-string<\Pest\Factories\Attributes\Attribute>>
*/ */
private static array $attributes = [ private static array $attributes = [
Attributes\Covers::class, Attributes\Covers::class,