File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Tests/Validator/Constraints Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818use Symfony \Component \Security \Core \User \UserInterface ;
1919use Symfony \Component \Security \Core \Validator \Constraints \UserPassword ;
2020use Symfony \Component \Security \Core \Validator \Constraints \UserPasswordValidator ;
21+ use Symfony \Component \Validator \ConstraintValidatorInterface ;
2122use Symfony \Component \Validator \Exception \ConstraintDefinitionException ;
2223use Symfony \Component \Validator \Test \ConstraintValidatorTestCase ;
2324
@@ -44,7 +45,7 @@ abstract class UserPasswordValidatorTest extends ConstraintValidatorTestCase
4445 */
4546 protected $ hasherFactory ;
4647
47- protected function createValidator ()
48+ protected function createValidator (): ConstraintValidatorInterface
4849 {
4950 return new UserPasswordValidator ($ this ->tokenStorage , $ this ->hasherFactory );
5051 }
You can’t perform that action at this time.
0 commit comments