Fix doc for generateSalt.

$cost must be in range 4-31.
Merge pull request #1816 from Crypt/hotfix/Hotfix-PHPDoc

Fix doc for generateSalt.