Skip to content

Commit d21d304

Browse files
committed
fix: Unexpected return type
1 parent 59c746c commit d21d304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Service/TOTPService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function checkIfOtpIsValid(string $secret, string $submittedOtp):
3535
return $otp->verify($submittedOtp);
3636
}
3737

38-
public function generateQRCodeForTokenAndAccount(TOTP $otp, Account $account): mixed
38+
public function generateQRCodeForTokenAndAccount(TOTP $otp, Account $account): string
3939
{
4040
$secret = $otp->getSecret();
4141

0 commit comments

Comments
 (0)