Passed
Branch salts (889e41)
by Florian
09:36 queued 05:30
created
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.
src/AbstractPasswordHasher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,10 +82,10 @@
 block discarded – undo
82 82
         }
83 83
 
84 84
         if ($this->saltPosition === self::SALT_BEFORE) {
85
-            return $this->salt . $password;
85
+            return $this->salt.$password;
86 86
         }
87 87
 
88
-        return $password . $this->salt;
88
+        return $password.$this->salt;
89 89
     }
90 90
 
91 91
     /**
Please login to merge, or discard this patch.