aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/spomky-labs/otphp/src/TOTPInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/spomky-labs/otphp/src/TOTPInterface.php')
-rw-r--r--vendor/spomky-labs/otphp/src/TOTPInterface.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/spomky-labs/otphp/src/TOTPInterface.php b/vendor/spomky-labs/otphp/src/TOTPInterface.php
index 47ef16ac0..a79fedcce 100644
--- a/vendor/spomky-labs/otphp/src/TOTPInterface.php
+++ b/vendor/spomky-labs/otphp/src/TOTPInterface.php
@@ -29,14 +29,8 @@ interface TOTPInterface extends OTPInterface
int $digits = self::DEFAULT_DIGITS
): self;
- /**
- * @param positive-int $period
- */
public function setPeriod(int $period): void;
- /**
- * @param 0|positive-int $epoch
- */
public function setEpoch(int $epoch): void;
/**
@@ -48,18 +42,10 @@ interface TOTPInterface extends OTPInterface
/**
* Get the period of time for OTP generation (a non-null positive integer, in second).
- *
- * @return positive-int
*/
public function getPeriod(): int;
- /**
- * @return 0|positive-int
- */
public function expiresIn(): int;
- /**
- * @return 0|positive-int
- */
public function getEpoch(): int;
}