fix formatting

This commit is contained in:
Antonio Ramirez
2016-12-14 02:50:12 +01:00
parent f3f4b31bb4
commit 3ba01b4674
140 changed files with 512 additions and 523 deletions

View File

@ -19,7 +19,7 @@ class SecurityHelper
/**
* Generates a secure hash from a password and a random salt.
*
* @param string $password
* @param string $password
* @param null|int $cost
*
* @return string
@ -54,7 +54,7 @@ class SecurityHelper
}
$all = str_split($all);
for ($i = 0; $i < $length - count($sets); $i++) {
for ($i = 0; $i < $length - count($sets); ++$i) {
$password .= $all[array_rand($all)];
}