Skip to content

Commit 33fc946

Browse files
[Validator] Improve return types in tests
1 parent 93c8515 commit 33fc946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Validator/Constraints/UserPasswordValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ abstract class UserPasswordValidatorTest extends ConstraintValidatorTestCase
4545
*/
4646
protected $hasherFactory;
4747

48-
protected function createValidator(): ConstraintValidatorInterface
48+
protected function createValidator(): UserPasswordValidator
4949
{
5050
return new UserPasswordValidator($this->tokenStorage, $this->hasherFactory);
5151
}

0 commit comments

Comments
 (0)