Fixed static analysis issues

This commit is contained in:
Jan Böhmer 2023-06-11 23:16:07 +02:00
parent 172884ace8
commit 485b35fbd4
4 changed files with 21 additions and 14 deletions

View file

@ -31,4 +31,9 @@ use Symfony\Component\Validator\Constraint;
class NoLockout extends Constraint
{
public string $message = 'validator.noLockout';
public function getTargets(): string|array
{
return [self::CLASS_CONSTRAINT];
}
}