From d94ee9c7698675b53e381dd92a0469ee82ab1b25 Mon Sep 17 00:00:00 2001 From: Mark Magyar <14284867+xHeaven@users.noreply.github.com> Date: Sat, 27 May 2023 21:36:04 +0200 Subject: [PATCH] remove useless @throws because it never throws --- lib/TwoFactorAuth.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/TwoFactorAuth.php b/lib/TwoFactorAuth.php index 2cd3c97..3eef3e4 100644 --- a/lib/TwoFactorAuth.php +++ b/lib/TwoFactorAuth.php @@ -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