diff --git a/src/HOTP.php b/src/HOTP.php index b07da78f8e34d97e6fe20ff8cb3013680a0af4db..98a3ac8d6f15003bfaa4370680d2fbcc2bb455db 100644 --- a/src/HOTP.php +++ b/src/HOTP.php @@ -22,7 +22,7 @@ final class HOTP extends OTP implements HOTPInterface int $counter = 0, string $digest = 'sha1', int $digits = 6 - ): HOTPInterface { + ): self { return new self($secret, $counter, $digest, $digits); }