From 30b3d20f268538aed4ea8806851d34dc27536b2f Mon Sep 17 00:00:00 2001 From: Florent Morselli <contact@spomky-labs.com> Date: Sat, 16 Jul 2022 17:06:51 +0200 Subject: [PATCH] self returned by HOTP --- src/HOTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HOTP.php b/src/HOTP.php index b07da78..98a3ac8 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); } -- GitLab