Skip to content

Commit d94ee9c

Browse files
committed
remove useless @throws because it never throws
1 parent 955ce52 commit d94ee9c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/TwoFactorAuth.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ public function getQRText(string $label, string $secret): string
162162
. '&digits=' . $this->digits;
163163
}
164164

165-
/**
166-
* @throws TwoFactorAuthException
167-
*/
168165
public function getQrCodeProvider(): IQRCodeProvider
169166
{
170167
// Set default QR Code provider if none was specified
@@ -191,9 +188,6 @@ public function getRngProvider(): IRNGProvider
191188
throw new TwoFactorAuthException('Unable to find a suited RNGProvider');
192189
}
193190

194-
/**
195-
* @throws TwoFactorAuthException
196-
*/
197191
public function getTimeProvider(): ITimeProvider
198192
{
199193
// Set default time provider if none was specified

0 commit comments

Comments
 (0)