From aa5af1cb460a7b4c2905cabdc7d8c122d0fddcd2 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 5 Feb 2021 14:20:09 +0100 Subject: [PATCH] Fix repeatable scalar attribute --- src/Annotation/Scalar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Annotation/Scalar.php b/src/Annotation/Scalar.php index 43c29a59f..a93c36aeb 100644 --- a/src/Annotation/Scalar.php +++ b/src/Annotation/Scalar.php @@ -13,7 +13,7 @@ * @Annotation * @Target("CLASS") */ -#[Attribute(Attribute::TARGET_CLASS)] +#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)] final class Scalar extends Annotation implements NamedArgumentConstructorAnnotation { public ?string $name;