@@ -55,6 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * Return a link to this request handler. |
| 57 | 57 | * The link returned is supplied in the constructor |
| 58 | + * @param string $action |
|
| 58 | 59 | * @return string |
| 59 | 60 | */ |
| 60 | 61 | public function link($action = null) |
@@ -115,7 +116,7 @@ discard block |
||
| 115 | 116 | * Factory method for the lost password form |
| 116 | 117 | * |
| 117 | 118 | * @skipUpgrade |
| 118 | - * @return Form Returns the lost password form |
|
| 119 | + * @return LoginForm Returns the lost password form |
|
| 119 | 120 | */ |
| 120 | 121 | public function lostPasswordForm() |
| 121 | 122 | { |
@@ -247,6 +248,8 @@ discard block |
||
| 247 | 248 | |
| 248 | 249 | /** |
| 249 | 250 | * @todo copypaste from FormRequestHandler - refactor |
| 251 | + * @param string $link |
|
| 252 | + * @return string |
|
| 250 | 253 | */ |
| 251 | 254 | protected function addBackURLParam($link) |
| 252 | 255 | { |
@@ -5,9 +5,7 @@ |
||
| 5 | 5 | use SilverStripe\Control\Controller; |
| 6 | 6 | use SilverStripe\Control\Email\Email; |
| 7 | 7 | use SilverStripe\Control\HTTPResponse; |
| 8 | -use SilverStripe\Control\Session; |
|
| 9 | 8 | use SilverStripe\Control\RequestHandler; |
| 10 | -use SilverStripe\ORM\ValidationResult; |
|
| 11 | 9 | use SilverStripe\Forms\FieldList; |
| 12 | 10 | use SilverStripe\Forms\EmailField; |
| 13 | 11 | use SilverStripe\Forms\FormAction; |