Skip to content

Commit

Permalink
Narrowed down return type of Constraints\FieldValue::getTargets
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Aug 26, 2024
1 parent 2c61299 commit 3ab1696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Validator/Constraints/FieldValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3ab1696

Please sign in to comment.