From 111e9f3e7fad12faa41fb46990eb81ee0bd0a7ac Mon Sep 17 00:00:00 2001 From: Martin de Keijzer Date: Thu, 29 Jul 2021 08:19:23 +0200 Subject: [PATCH] Add Annotation Fix an error where the class could not be used for annotations --- src/Validator/Constraints/IsTrueV3.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Validator/Constraints/IsTrueV3.php b/src/Validator/Constraints/IsTrueV3.php index c2749c0..a48e778 100755 --- a/src/Validator/Constraints/IsTrueV3.php +++ b/src/Validator/Constraints/IsTrueV3.php @@ -2,6 +2,10 @@ namespace EWZ\Bundle\RecaptchaBundle\Validator\Constraints; +/** + * @Annotation + * @Target("PROPERTY") + */ class IsTrueV3 extends IsTrue { /**