Completed
Push — authenticator-refactor ( 54d3b4...521de8 )
by Simon
06:39
created
src/Security/Security.php 2 patches
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -586,8 +586,7 @@  discard block
 block discarded – undo
586 586
     /**
587 587
      * Combine the given forms into a formset with a tabbed interface
588 588
      *
589
-     * @param array $authenticators List of Authenticator instances
590
-     * @return string
589
+     * @return \SilverStripe\ORM\FieldType\DBHTMLText
591 590
      */
592 591
     protected function generateLoginFormSet($forms)
593 592
     {
@@ -858,7 +857,7 @@  discard block
 block discarded – undo
858 857
      * Factory method for the lost password form
859 858
      *
860 859
      * @skipUpgrade
861
-     * @return ChangePasswordForm Returns the lost password form
860
+     * @return MemberAuthenticator\ChangePasswordForm Returns the lost password form
862 861
      */
863 862
     public function ChangePasswordForm()
864 863
     {
@@ -1169,7 +1168,7 @@  discard block
 block discarded – undo
1169 1168
     /**
1170 1169
      * Set to true to ignore access to disallowed actions, rather than returning permission failure
1171 1170
      * Note that this is just a flag that other code needs to check with Security::ignore_disallowed_actions()
1172
-     * @param $flag True or false
1171
+     * @param boolean $flag True or false
1173 1172
      */
1174 1173
     public static function set_ignore_disallowed_actions($flag)
1175 1174
     {
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -12,14 +12,10 @@  discard block
 block discarded – undo
12 12
 use SilverStripe\Control\Session;
13 13
 use SilverStripe\Control\RequestHandler;
14 14
 use SilverStripe\Core\ClassInfo;
15
-use SilverStripe\Core\Config\Config;
16 15
 use SilverStripe\Core\Convert;
17 16
 use SilverStripe\Dev\Deprecation;
18 17
 use SilverStripe\Dev\TestOnly;
19
-use SilverStripe\Forms\EmailField;
20
-use SilverStripe\Forms\FieldList;
21 18
 use SilverStripe\Forms\Form;
22
-use SilverStripe\Forms\FormAction;
23 19
 use SilverStripe\ORM\ArrayList;
24 20
 use SilverStripe\ORM\DataModel;
25 21
 use SilverStripe\ORM\DB;
@@ -30,7 +26,6 @@  discard block
 block discarded – undo
30 26
 use SilverStripe\View\SSViewer;
31 27
 use SilverStripe\View\TemplateGlobalProvider;
32 28
 use Exception;
33
-use SilverStripe\View\ViewableData_Customised;
34 29
 use Subsite;
35 30
 use SilverStripe\Core\Injector\Injector;
36 31
 
Please login to merge, or discard this patch.