Completed
Pull Request — master (#12)
by
unknown
03:16
created
Command/UpdateUser.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,9 +35,10 @@
 block discarded – undo
35 35
      * UpdateUser constructor.
36 36
      *
37 37
      * @param UserInterface $user
38
-     * @param $username
39
-     * @param $password
40
-     * @param $displayName
38
+     * @param string $username
39
+     * @param string $password
40
+     * @param string $displayName
41
+     * @param string $email
41 42
      */
42 43
     public function __construct(UserInterface $user, $username, $password, $displayName, $email)
43 44
     {
Please login to merge, or discard this patch.
Security/PasswordResetToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     private static function generatePasswordResetToken()
11 11
     {
12
-        return time() . base64_encode(random_bytes(10));
12
+        return time().base64_encode(random_bytes(10));
13 13
     }
14 14
 
15 15
     public static function validateToken(UserInterface $user, $token)
Please login to merge, or discard this patch.