@@ -52,8 +52,7 @@ discard block |
||
52 | 52 | * @class TOTP |
53 | 53 | * @package Platine\Framework\Security\OTP |
54 | 54 | */ |
55 | -class TOTP |
|
56 | -{ |
|
55 | +class TOTP { |
|
57 | 56 | /** |
58 | 57 | * The length of the secret |
59 | 58 | * @var int |
@@ -82,8 +81,7 @@ discard block |
||
82 | 81 | * Create new instance |
83 | 82 | * @param string|null $secret |
84 | 83 | */ |
85 | - public function __construct(?string $secret = null) |
|
86 | - { |
|
84 | + public function __construct(?string $secret = null) { |
|
87 | 85 | if ($secret === null) { |
88 | 86 | $secret = $this->generateSecret(); |
89 | 87 | } |