Fixed phpstan issue

This commit is contained in:
Jan Böhmer 2023-07-03 00:38:14 +02:00
parent e032f6b33d
commit a47f0ccc12

View file

@ -32,10 +32,10 @@ class ValidGoogleAuthCode extends Constraint
*/
public function __construct(
array $options = null,
string $message = null,
array $groups = null,
mixed $payload = null,
public ?TwoFactorInterface $user = null)
{
parent::__construct($options, $message, $groups);
parent::__construct($options, $groups, $payload);
}
}