From cff9540e878ae17093cea6f08d994625587cbe8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20G=C3=BCthler?= Date: Tue, 26 Mar 2024 09:47:24 +0000 Subject: [PATCH] Fix Attribute declcaration --- src/Annotation/Translatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Annotation/Translatable.php b/src/Annotation/Translatable.php index 1eb0cc7..bde3237 100644 --- a/src/Annotation/Translatable.php +++ b/src/Annotation/Translatable.php @@ -16,7 +16,7 @@ * @Annotation * @NamedArgumentConstructor */ -#[Attribute(Attribute::TARGET_PROPERTY)] +#[Attribute] final class Translatable { private ?string $translationFieldname;