@@ -35,9 +35,10 @@ |
||
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 | { |
@@ -9,7 +9,7 @@ |
||
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) |