Commit 0c1557e5 by Crypt

Fix doc for generateSalt.

$cost must be in range 4-31.
parent daf6c81f
...@@ -326,7 +326,7 @@ class BaseSecurity ...@@ -326,7 +326,7 @@ class BaseSecurity
* *
* @param integer $cost the cost parameter * @param integer $cost the cost parameter
* @return string the random salt value. * @return string the random salt value.
* @throws InvalidParamException if the cost parameter is not between 4 and 30 * @throws InvalidParamException if the cost parameter is not between 4 and 31
*/ */
protected static function generateSalt($cost = 13) protected static function generateSalt($cost = 13)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment