Passed
Branch cake-legacy (153264)
by Florian
03:56
created
Category
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
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
             if (!is_string($this->salt)) {
125 125
                 throw new RuntimeException('No salt present');
126 126
             }
127
-            $string = $this->salt . $password;
127
+            $string = $this->salt.$password;
128 128
         }
129 129
 
130 130
         return hash($algorithm, $password);
Please login to merge, or discard this patch.