Passed
Pull Request — master (#4)
by Florian
02:05
created
src/Md5PasswordHasher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
     {
57 57
         if (!empty($this->salt)) {
58 58
             if ($this->saltPosition === self::SALT_BEFORE) {
59
-                $password = $this->salt . $password;
59
+                $password = $this->salt.$password;
60 60
             } else {
61
-                $password = $password . $this->salt;
61
+                $password = $password.$this->salt;
62 62
             }
63 63
         }
64 64
 
Please login to merge, or discard this patch.
src/CakeLegacyPasswordHasher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
             if (!is_string($this->salt)) {
112 112
                 throw new RuntimeException('No salt present');
113 113
             }
114
-            $password = $this->salt . $password;
114
+            $password = $this->salt.$password;
115 115
         }
116 116
 
117 117
         return hash($algorithm, $password);
Please login to merge, or discard this patch.