@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | { |
| 25 | 25 | parent::__construct($algorithm); |
| 26 | 26 | |
| 27 | - if ($iterations !== null) { |
|
| 27 | + if ($iterations!==null) { |
|
| 28 | 28 | $this->iterations = $iterations; |
| 29 | 29 | } |
| 30 | 30 | } |
@@ -39,6 +39,6 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | public function encrypt($password, $salt = null, $member = null) |
| 41 | 41 | { |
| 42 | - return hash_pbkdf2($this->getAlgorithm(), (string) $password, (string) $salt, $this->getIterations()); |
|
| 42 | + return hash_pbkdf2($this->getAlgorithm(), (string)$password, (string)$salt, $this->getIterations()); |
|
| 43 | 43 | } |
| 44 | 44 | } |