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 18
18
use Symfony \Component \Security \Core \User \UserInterface ;
19
19
use Symfony \Component \Security \Core \Validator \Constraints \UserPassword ;
20
20
use Symfony \Component \Security \Core \Validator \Constraints \UserPasswordValidator ;
21
+ use Symfony \Component \Validator \ConstraintValidatorInterface ;
21
22
use Symfony \Component \Validator \Exception \ConstraintDefinitionException ;
22
23
use Symfony \Component \Validator \Test \ConstraintValidatorTestCase ;
23
24
@@ -44,7 +45,7 @@ abstract class UserPasswordValidatorTest extends ConstraintValidatorTestCase
44
45
*/
45
46
protected $ hasherFactory ;
46
47
47
- protected function createValidator ()
48
+ protected function createValidator (): ConstraintValidatorInterface
48
49
{
49
50
return new UserPasswordValidator ($ this ->tokenStorage , $ this ->hasherFactory );
50
51
}
You can’t perform that action at this time.
0 commit comments