X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUserrights.php;h=0a712eff21a1c5791c54747e6f1be3445a93f365;hp=d0a0317fa8f19bea1dd794197cafdb8fdc1850db;hb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1;hpb=cb3ae021726f3ce549eee11f09e34bdf395d9db7 diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index d0a0317fa8..0a712eff21 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -326,8 +326,8 @@ class UserrightsPage extends SpecialPage { * @return array Tuple of added, then removed groups */ function doSaveUserGroups( $user, $add, $remove, $reason = '', $tags = [], - $groupExpiries = [] ) { - + $groupExpiries = [] + ) { // Validate input set... $isself = $user->getName() == $this->getUser()->getName(); $groups = $user->getGroups(); @@ -433,8 +433,8 @@ class UserrightsPage extends SpecialPage { * @param array $newUGMs Associative array of (group name => UserGroupMembership) */ protected function addLogEntry( $user, $oldGroups, $newGroups, $reason, $tags, - $oldUGMs, $newUGMs ) { - + $oldUGMs, $newUGMs + ) { // make sure $oldUGMs and $newUGMs are in the same order, and serialise // each UGM object to a simplified array $oldUGMs = array_map( function ( $group ) use ( $oldUGMs ) {