We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15addc6 commit 6a7c1afCopy full SHA for 6a7c1af
src/Symfony/Component/Validator/Constraints/UniqueValidator.php
@@ -31,7 +31,7 @@ public function __construct(
31
) {
32
}
33
34
- public function validate(mixed $value, Constraint $constraint)
+ public function validate(mixed $value, Constraint $constraint): void
35
{
36
if (!$constraint instanceof Unique) {
37
throw new UnexpectedTypeException($constraint, Unique::class);
0 commit comments