@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Gets the value of name. |
65 | 65 | * |
66 | - * @return mixed |
|
66 | + * @return string |
|
67 | 67 | */ |
68 | 68 | public function getName() |
69 | 69 | { |
@@ -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 | { |
@@ -207,7 +207,7 @@ |
||
207 | 207 | /** |
208 | 208 | * Sets the value of role. |
209 | 209 | * |
210 | - * @param mixed $role the role |
|
210 | + * @param Role $role the role |
|
211 | 211 | * |
212 | 212 | * @return self |
213 | 213 | */ |
@@ -23,13 +23,13 @@ discard block |
||
23 | 23 | { |
24 | 24 | |
25 | 25 | /** |
26 | - * Send an email with a link to reset user's password. |
|
27 | - * |
|
28 | - * @ApiDoc( |
|
29 | - * description="Send an email with a link to reset user's password." |
|
30 | - * ) |
|
31 | - * @Post("password/email/reset", options={"i18n"=false}) |
|
32 | - */ |
|
26 | + * Send an email with a link to reset user's password. |
|
27 | + * |
|
28 | + * @ApiDoc( |
|
29 | + * description="Send an email with a link to reset user's password." |
|
30 | + * ) |
|
31 | + * @Post("password/email/reset", options={"i18n"=false}) |
|
32 | + */ |
|
33 | 33 | public function resetPasswordEmailAction(Request $request): Response |
34 | 34 | { |
35 | 35 | $email = $request->request->get('email'); |
@@ -65,13 +65,13 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * Reset password view. |
|
69 | - * |
|
70 | - * @ApiDoc( |
|
71 | - * description="Reset password view." |
|
72 | - * ) |
|
73 | - * @Get("password/reset", options={"i18n"=false}) |
|
74 | - */ |
|
68 | + * Reset password view. |
|
69 | + * |
|
70 | + * @ApiDoc( |
|
71 | + * description="Reset password view." |
|
72 | + * ) |
|
73 | + * @Get("password/reset", options={"i18n"=false}) |
|
74 | + */ |
|
75 | 75 | public function resetPasswordGetAction(Request $request): Response |
76 | 76 | { |
77 | 77 | $token = $request->query->get('token'); |