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; }