@@ -197,7 +197,7 @@ |
||
| 197 | 197 | /** |
| 198 | 198 | * Gets the value of email. |
| 199 | 199 | * |
| 200 | - * @return mixed |
|
| 200 | + * @return string |
|
| 201 | 201 | */ |
| 202 | 202 | public function getEmail() |
| 203 | 203 | { |
@@ -197,7 +197,7 @@ |
||
| 197 | 197 | /** |
| 198 | 198 | * Gets the value of email. |
| 199 | 199 | * |
| 200 | - * @return mixed |
|
| 200 | + * @return string |
|
| 201 | 201 | */ |
| 202 | 202 | public function getEmail() |
| 203 | 203 | { |
@@ -24,13 +24,13 @@ discard block |
||
| 24 | 24 | { |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * Send an email with a link to reset user's password. |
|
| 28 | - * |
|
| 29 | - * @ApiDoc( |
|
| 30 | - * description="Send an email with a link to reset user's password." |
|
| 31 | - * ) |
|
| 32 | - * @Post("password/email/reset", options={"i18n"=false}) |
|
| 33 | - */ |
|
| 27 | + * Send an email with a link to reset user's password. |
|
| 28 | + * |
|
| 29 | + * @ApiDoc( |
|
| 30 | + * description="Send an email with a link to reset user's password." |
|
| 31 | + * ) |
|
| 32 | + * @Post("password/email/reset", options={"i18n"=false}) |
|
| 33 | + */ |
|
| 34 | 34 | public function resetPasswordEmailAction(Request $request): Response |
| 35 | 35 | { |
| 36 | 36 | $email = $request->request->get('email'); |
@@ -66,13 +66,13 @@ discard block |
||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | - * Reset password view. |
|
| 70 | - * |
|
| 71 | - * @ApiDoc( |
|
| 72 | - * description="Reset password view." |
|
| 73 | - * ) |
|
| 74 | - * @Get("password/reset", options={"i18n"=false}) |
|
| 75 | - */ |
|
| 69 | + * Reset password view. |
|
| 70 | + * |
|
| 71 | + * @ApiDoc( |
|
| 72 | + * description="Reset password view." |
|
| 73 | + * ) |
|
| 74 | + * @Get("password/reset", options={"i18n"=false}) |
|
| 75 | + */ |
|
| 76 | 76 | public function resetPasswordGetAction(Request $request): Response |
| 77 | 77 | { |
| 78 | 78 | $token = $request->query->get('token'); |