mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-17 11:23:53 +00:00
remove useless @throws because it never throws
This commit is contained in:
@@ -162,9 +162,6 @@ class TwoFactorAuth
|
||||
. '&digits=' . $this->digits;
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws TwoFactorAuthException
|
||||
*/
|
||||
public function getQrCodeProvider(): IQRCodeProvider
|
||||
{
|
||||
// Set default QR Code provider if none was specified
|
||||
@@ -191,9 +188,6 @@ class TwoFactorAuth
|
||||
throw new TwoFactorAuthException('Unable to find a suited RNGProvider');
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws TwoFactorAuthException
|
||||
*/
|
||||
public function getTimeProvider(): ITimeProvider
|
||||
{
|
||||
// Set default time provider if none was specified
|
||||
|
||||
Reference in New Issue
Block a user