diff options
-rw-r--r-- | lib/private/group.php | 2 | ||||
-rw-r--r-- | lib/private/group/manager.php | 2 | ||||
-rw-r--r-- | lib/public/igroupmanager.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/group.php b/lib/private/group.php index 4eed2a85450..fdf8086f1e8 100644 --- a/lib/private/group.php +++ b/lib/private/group.php @@ -183,7 +183,7 @@ class OC_Group { * * This function fetches all groups a user belongs to. It does not check * if the user exists at all. - * @deprecated Use \OC::$server->getGroupManager->getuserGroupIds($user) + * @deprecated Use \OC::$server->getGroupManager->getUserGroupIds($user) */ public static function getUserGroups($uid) { $user = self::getUserManager()->get($uid); diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php index 40018370af5..7387b423643 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -210,7 +210,7 @@ class Manager extends PublicEmitter implements IGroupManager { } /** - * @param \OC\User\User $user + * @param \OC\User\User|null $user * @return \OC\Group\Group[] */ public function getUserGroups($user) { diff --git a/lib/public/igroupmanager.php b/lib/public/igroupmanager.php index 862c77218de..da80cfdd374 100644 --- a/lib/public/igroupmanager.php +++ b/lib/public/igroupmanager.php @@ -93,7 +93,7 @@ interface IGroupManager { public function search($search, $limit = null, $offset = null); /** - * @param \OCP\IUser $user + * @param \OCP\IUser|null $user * @return \OCP\IGroup[] * @since 8.0.0 */ |