From 066f90d8b8e5456acc37bb475ca782735c1c187e Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Wed, 13 Apr 2022 16:48:21 +0200 Subject: [PATCH] Define explicit return type --- src/Validator/Constraints/IsTrue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validator/Constraints/IsTrue.php b/src/Validator/Constraints/IsTrue.php index eb43f6d..1e0d0f4 100644 --- a/src/Validator/Constraints/IsTrue.php +++ b/src/Validator/Constraints/IsTrue.php @@ -24,7 +24,7 @@ public function __construct(array $options = null, string $message = null, strin } /** - * {@inheritdoc} + * @return string|string[] */ public function getTargets() {