Completed
Push — authenticator-refactor ( d33fab...54d3b4 )
by Sam
06:45
created
src/Security/MemberAuthenticator/LostPasswordHandler.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.