mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-22 22:16:22 +01:00
Fix phpstan
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user