]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove not needed semicolon and PHPDoc hint 22888/head
authorMorris Jobke <hey@morrisjobke.de>
Wed, 16 Sep 2020 14:18:43 +0000 (16:18 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 16 Sep 2020 14:18:43 +0000 (16:18 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/settings/lib/Controller/UsersController.php
lib/private/Group/MetaData.php

index e228ebd8811a304ada4ab890fd48c2c82f1a6da6..1bdd26316af94cdba8e4dce81c6ded74be8c1fae 100644 (file)
@@ -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);
                        }
index 21857b6c8f09600f1348399a14d4bac945912252..46fa7c250b28758ce3f1144db09e9bd41598f5fd 100644 (file)
@@ -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(