Completed
Push — master ( 1c7cc7...74be25 )
by Michael
01:40
created
src/Hash.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $hash = self::ihmac($input, $key, $cost, self::ALGO);
61 61
 
62 62
         // Return the salt + cost blob + hmac
63
-        return $salt . self::costHash($cost, $salt, $password) . $hash;
63
+        return $salt.self::costHash($cost, $salt, $password).$hash;
64 64
     }
65 65
 
66 66
     /**
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         // Convert cost to base 256 then encrypt with OTP stream cipher
84 84
         $cost = Otp::crypt(self::dec2bin($cost), $password);
85 85
 
86
-        return $hash . $cost;
86
+        return $hash.$cost;
87 87
     }
88 88
 
89 89
     /**
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         // Perform iterative hmac calls
105 105
         // Make sure $iter value of 0 is handled
106 106
         for ($i = 0; $i <= $iter; $i++) {
107
-            $data = self::hmac($data . $i . $iter, $key, $algo);
107
+            $data = self::hmac($data.$i.$iter, $key, $algo);
108 108
         }
109 109
 
110 110
         return $data;
Please login to merge, or discard this patch.