Browse Source

Merge pull request #1816 from Crypt/hotfix/Hotfix-PHPDoc

Fix doc for generateSalt.
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
73e0e6abf7
  1. 2
      framework/yii/helpers/BaseSecurity.php

2
framework/yii/helpers/BaseSecurity.php

@ -326,7 +326,7 @@ class BaseSecurity
*
* @param integer $cost the cost parameter
* @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)
{

Loading…
Cancel
Save