X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBotPasswords.php;h=dfdbb067c065aa722aebbf595cc344a3f491c394;hp=1dd78d7cfcbd0f9fec6f4abd900517b243cb0a4e;hb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;hpb=48df0714bbfe0d5cf3ced3de9081c02d583d78c3 diff --git a/includes/specials/SpecialBotPasswords.php b/includes/specials/SpecialBotPasswords.php index 1dd78d7cfc..dfdbb067c0 100644 --- a/includes/specials/SpecialBotPasswords.php +++ b/includes/specials/SpecialBotPasswords.php @@ -123,7 +123,7 @@ class SpecialBotPasswords extends FormSpecialPage { $showGrants ), 'default' => array_map( - function( $g ) { + function ( $g ) { return "grant-$g"; }, $this->botPassword->getGrants() @@ -131,14 +131,14 @@ class SpecialBotPasswords extends FormSpecialPage { 'tooltips' => array_combine( array_map( 'MWGrants::getGrantsLink', $showGrants ), array_map( - function( $rights ) use ( $lang ) { + function ( $rights ) use ( $lang ) { return $lang->semicolonList( array_map( 'User::getRightDescription', $rights ) ); }, array_intersect_key( MWGrants::getRightsByGrant(), array_flip( $showGrants ) ) ) ), 'force-options-on' => array_map( - function( $g ) { + function ( $g ) { return "grant-$g"; }, MWGrants::getHiddenGrants()