aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/spomky-labs/otphp/src/OTP.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/spomky-labs/otphp/src/OTP.php')
-rw-r--r--vendor/spomky-labs/otphp/src/OTP.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/spomky-labs/otphp/src/OTP.php b/vendor/spomky-labs/otphp/src/OTP.php
index 944ed8f62..f4c242c8f 100644
--- a/vendor/spomky-labs/otphp/src/OTP.php
+++ b/vendor/spomky-labs/otphp/src/OTP.php
@@ -35,6 +35,9 @@ abstract class OTP implements OTPInterface
return str_replace($placeholder, $provisioning_uri, $uri);
}
+ /**
+ * @param 0|positive-int $input
+ */
public function at(int $input): string
{
return $this->generateOTP($input);
@@ -134,9 +137,6 @@ abstract class OTP implements OTPInterface
return $decoded;
}
- /**
- * @param 0|positive-int $int
- */
private function intToByteString(int $int): string
{
$result = [];