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.
::class
__NAMESPACE__
1 parent bd9d148 commit f01da51Copy full SHA for f01da51
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