From a47f0ccc127db2a6077d9ad8d0a9230efdd94864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 3 Jul 2023 00:38:14 +0200 Subject: [PATCH] Fixed phpstan issue --- src/Validator/Constraints/ValidGoogleAuthCode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Validator/Constraints/ValidGoogleAuthCode.php b/src/Validator/Constraints/ValidGoogleAuthCode.php index d555dcae..482af35c 100644 --- a/src/Validator/Constraints/ValidGoogleAuthCode.php +++ b/src/Validator/Constraints/ValidGoogleAuthCode.php @@ -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); } }