Completed
Push — master ( 04e799...0cbb24 )
by Michael
01:34
created
src/Otp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.