From b09d668dd030010fd6eff897674a79e15e1b5a80 Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Fri, 19 Apr 2024 22:27:52 +0200 Subject: [PATCH] Apply php-cs-fixer --- .../Security/TwoFactor/Provider/Google/GoogleAuthenticator.php | 2 +- src/totp/Security/TwoFactor/Provider/Totp/TotpAuthenticator.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleAuthenticator.php b/src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleAuthenticator.php index 983c87de..abb87e24 100644 --- a/src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleAuthenticator.php +++ b/src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleAuthenticator.php @@ -20,7 +20,7 @@ public function __construct( /** @var 0|positive-int */ private int $window, /** @var 0|positive-int|null */ - private int|null $leeway, + private ?int $leeway, ) { } diff --git a/src/totp/Security/TwoFactor/Provider/Totp/TotpAuthenticator.php b/src/totp/Security/TwoFactor/Provider/Totp/TotpAuthenticator.php index c6d7ae6f..0162b90e 100644 --- a/src/totp/Security/TwoFactor/Provider/Totp/TotpAuthenticator.php +++ b/src/totp/Security/TwoFactor/Provider/Totp/TotpAuthenticator.php @@ -20,7 +20,7 @@ public function __construct( /** @var 0|positive-int */ private int $window, /** @var 0|positive-int|null */ - private int|null $leeway, + private ?int $leeway, ) { }