Completed
Push — master ( 3ea5e8...4acd89 )
by Michael
24:15 queued 19:07
created
src/Mcrypt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param string $mode       Mcrypt mode
45 45
      * @param string $algo       Hashing algorithm to use for internal operations
46 46
      * 
47
-     * @return string|boolean Returns false on checksum validation failure
47
+     * @return false|string Returns false on checksum validation failure
48 48
      */
49 49
     public static function decrypt($cyphertext, $password, $cost = 0, $cipher = MCRYPT_RIJNDAEL_128, $mode = MCRYPT_MODE_CBC, $algo = 'sha256')
50 50
     {
Please login to merge, or discard this patch.
src/Hash.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@
 block discarded – undo
75 75
         return $cost % \pow(2, 32);
76 76
     }
77 77
 
78
+    /**
79
+     * @param string $password
80
+     */
78 81
     private static function costHash($cost, $salt, $password)
79 82
     {
80 83
         // Hash and return first 12 bytes
Please login to merge, or discard this patch.