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.
2 parents 5c5f078 + 2c1f057 commit b2d2d20Copy full SHA for b2d2d20
Validator/Constraints/UserPasswordValidator.php
@@ -36,7 +36,7 @@ public function __construct(TokenStorageInterface $tokenStorage, EncoderFactoryI
36
public function validate($password, Constraint $constraint)
37
{
38
if (!$constraint instanceof UserPassword) {
39
- throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\UserPassword');
+ throw new UnexpectedTypeException($constraint, UserPassword::class);
40
}
41
42
if (null === $password || '' === $password) {
0 commit comments