From: Morris Jobke Date: Wed, 16 Sep 2020 14:18:43 +0000 (+0200) Subject: Remove not needed semicolon and PHPDoc hint X-Git-Tag: v20.0.0RC1~14^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F22888%2Fhead;p=nextcloud-server.git Remove not needed semicolon and PHPDoc hint Signed-off-by: Morris Jobke --- diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index e228ebd8811..1bdd26316af 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -214,7 +214,7 @@ class UsersController extends Controller { $groups[$key]['usercount']--; $userCount -= 1; // we also lower from one the total count } - }; + } $userCount += $this->userManager->countUsersOfGroups($groupsInfo->getGroups()); $disabledUsers = $this->userManager->countDisabledUsersOfGroups($groupsNames); } diff --git a/lib/private/Group/MetaData.php b/lib/private/Group/MetaData.php index 21857b6c8f0..46fa7c250b2 100644 --- a/lib/private/Group/MetaData.php +++ b/lib/private/Group/MetaData.php @@ -55,7 +55,6 @@ class MetaData { * @param string $user the uid of the current user * @param bool $isAdmin whether the current users is an admin * @param IGroupManager $groupManager - * @param IUserManager $userManager * @param IUserSession $userSession */ public function __construct(