Fix phpstan

This commit is contained in:
slawkens
2026-01-21 20:14:58 +01:00
parent 867e3e2c38
commit 5e5fd43233

View File

@@ -191,7 +191,7 @@ class TwoFactorAuth
return $otp; return $otp;
} }
public function appDisplayEnable(string $secret, TOTP $otp = null, array $errors = []): void public function appDisplayEnable(string $secret, ?TOTP $otp = null, array $errors = []): void
{ {
global $twig; global $twig;