X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2Fpagers%2FUsersPager.php;h=45b1a33e4519324e2746a09a9e0496dd4de47915;hb=2491edaaca70c5a9bc898e5186eaf2c27719988f;hp=aa757e69046c27d9b4f5d18f5767f7f333aa524b;hpb=af363e85a0de038a4349de5f5bef22fc06cc998b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/pagers/UsersPager.php b/includes/specials/pagers/UsersPager.php index aa757e6904..45b1a33e45 100644 --- a/includes/specials/pagers/UsersPager.php +++ b/includes/specials/pagers/UsersPager.php @@ -43,7 +43,7 @@ class UsersPager extends AlphabeticPager { * @param bool|null $including Whether this page is being transcluded in * another page */ - function __construct( IContextSource $context = null, $par = null, $including = null ) { + public function __construct( IContextSource $context = null, $par = null, $including = null ) { if ( $context ) { $this->setContext( $context ); } @@ -333,7 +333,7 @@ class UsersPager extends AlphabeticPager { Hooks::run( 'SpecialListusersHeaderForm', [ $this, &$beforeSubmitButtonHookOut ] ); if ( $beforeSubmitButtonHookOut !== '' ) { - $formDescriptior[ 'beforeSubmitButtonHookOut' ] = [ + $formDescriptor[ 'beforeSubmitButtonHookOut' ] = [ 'class' => HTMLInfoField::class, 'raw' => true, 'default' => $beforeSubmitButtonHookOut @@ -349,7 +349,7 @@ class UsersPager extends AlphabeticPager { Hooks::run( 'SpecialListusersHeader', [ $this, &$beforeClosingFieldsetHookOut ] ); if ( $beforeClosingFieldsetHookOut !== '' ) { - $formDescriptior[ 'beforeClosingFieldsetHookOut' ] = [ + $formDescriptor[ 'beforeClosingFieldsetHookOut' ] = [ 'class' => HTMLInfoField::class, 'raw' => true, 'default' => $beforeClosingFieldsetHookOut