Passed
Branch master (a21142)
by Andreas
04:27
created
Category
src/Password.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         );
55 55
     }
56 56
 
57
-    public function shouldBeRehashed(int $algorithm = PASSWORD_DEFAULT, array $options = []) : bool
57
+    public function shouldBeRehashed(int $algorithm = PASSWORD_DEFAULT, array $options = [ ]) : bool
58 58
     {
59 59
         if (null === $this->hash) {
60 60
             return true;
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         return password_needs_rehash($this->hash, $algorithm, $options);
64 64
     }
65 65
 
66
-    public function getNewHash(int $algorithm = PASSWORD_DEFAULT, array $options = []) : string
66
+    public function getNewHash(int $algorithm = PASSWORD_DEFAULT, array $options = [ ]) : string
67 67
     {
68 68
         return password_hash($this->getPasswordInPlainText(), $algorithm, $options);
69 69
     }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         throw PasswordException::getSleepException();
105 105
 
106
-        return [];
106
+        return [ ];
107 107
     }
108 108
 
109 109
     /**
Please login to merge, or discard this patch.