File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -237,10 +237,8 @@ protected function sendMail($usermail, $passwordResetUrl)
237237
238238 /**
239239 * Checks whether the given password reset token is a valid one.
240- * @param string $passwordResetToken
241- * @return bool
242240 */
243- public function validatePasswordResetToken (string $ passwordResetToken )
241+ public function validatePasswordResetToken ($ passwordResetToken )
244242 {
245243 /** @var User $user */
246244 $ user = $ this ->getUserByPasswordResetToken ($ passwordResetToken );
@@ -263,10 +261,10 @@ public function validatePasswordResetToken(string $passwordResetToken)
263261
264262 /**
265263 * Find user by password reset token
266- * @param $passwordResetToken
264+ * @param string $passwordResetToken
267265 * @return mixed
268266 */
269- public function getUserByPasswordResetToken ($ passwordResetToken ) {
267+ public function getUserByPasswordResetToken (string $ passwordResetToken ) {
270268 return $ this ->entityManager ->getRepository (User::class)
271269 ->findOneByPasswordResetToken ($ passwordResetToken );
272270 }
You can’t perform that action at this time.
0 commit comments