remove useless @throws because it never throws

This commit is contained in:
Mark Magyar
2023-05-27 21:36:04 +02:00
parent 955ce522f0
commit d94ee9c769
-6
View File
@@ -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