Skip to content

Commit 6a7c1af

Browse files
committed
Add validate return type
1 parent 15addc6 commit 6a7c1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/UniqueValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(
3131
) {
3232
}
3333

34-
public function validate(mixed $value, Constraint $constraint)
34+
public function validate(mixed $value, Constraint $constraint): void
3535
{
3636
if (!$constraint instanceof Unique) {
3737
throw new UnexpectedTypeException($constraint, Unique::class);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy