Completed
Push — master ( 6c7ecf...539cfe )
by Michael
01:27
created
src/Str.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
         // We hash the 2 inputs at this point because hash_equals is still 
49 49
         // vulnerable to timing attacks when the inputs have different sizes.
50 50
         // Inputs are also cast to string like in symfony stringutils.
51
-        $known = \hash_hmac('sha256', (string)$known, $nonce, true);
52
-        $given = \hash_hmac('sha256', (string)$given, $nonce, true);
51
+        $known = \hash_hmac('sha256', (string) $known, $nonce, true);
52
+        $given = \hash_hmac('sha256', (string) $given, $nonce, true);
53 53
 
54 54
         return \hash_equals($known, $given);
55 55
     }
Please login to merge, or discard this patch.