aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/spomky-labs/otphp/src/OTPInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/spomky-labs/otphp/src/OTPInterface.php')
-rw-r--r--vendor/spomky-labs/otphp/src/OTPInterface.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/spomky-labs/otphp/src/OTPInterface.php b/vendor/spomky-labs/otphp/src/OTPInterface.php
index f14eef9f4..39ce4acd0 100644
--- a/vendor/spomky-labs/otphp/src/OTPInterface.php
+++ b/vendor/spomky-labs/otphp/src/OTPInterface.php
@@ -27,9 +27,6 @@ interface OTPInterface
*/
public function setSecret(string $secret): void;
- /**
- * @param positive-int $digits
- */
public function setDigits(int $digits): void;
/**
@@ -38,6 +35,8 @@ interface OTPInterface
public function setDigest(string $digest): void;
/**
+ * Generate the OTP at the specified input.
+ *
* @param 0|positive-int $input
*
* @return non-empty-string Return the OTP at the specified timestamp