Completed
Push — 1.10 ( e9a5f6...3ed15e )
by Robbie
02:48
created
code/PasswordEncryptor/PasswordEncryptor_PBKDF2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.