@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Otp.php |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | $length = Str::strlen($input); |
| 45 | 45 | |
| 46 | 46 | foreach ($chunks as $i => &$chunk) { |
| 47 | - $chunk = $chunk ^ \hash_hmac($algo, $password . $length, (string)$i, true); |
|
| 47 | + $chunk = $chunk ^ \hash_hmac($algo, $password.$length, (string) $i, true); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | return \implode($chunks); |