From 3ab16965a0c93b1065078a19b89433ef0fec8fc9 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Mon, 26 Aug 2024 14:11:59 +0200 Subject: [PATCH] Narrowed down return type of Constraints\FieldValue::getTargets --- src/lib/Validator/Constraints/FieldValue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Validator/Constraints/FieldValue.php b/src/lib/Validator/Constraints/FieldValue.php index a652866..746f5a2 100644 --- a/src/lib/Validator/Constraints/FieldValue.php +++ b/src/lib/Validator/Constraints/FieldValue.php @@ -17,7 +17,7 @@ class FieldValue extends Constraint { public $message = 'ez.field.value'; - public function getTargets(): string|array + public function getTargets(): string { return self::CLASS_CONSTRAINT; }