diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-20 14:38:29 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-20 14:38:29 +0100 |
commit | c86483f3edb931d58477e4003490fb02fee6369f (patch) | |
tree | 7cf604f4096a1a870dea27688b167d003b1af2b2 | |
parent | c565a7b0429be19e98e42599c8ab7b6e4a46dc8d (diff) | |
download | nextcloud-server-c86483f3edb931d58477e4003490fb02fee6369f.tar.gz nextcloud-server-c86483f3edb931d58477e4003490fb02fee6369f.zip |
Adjust PHPDoc as suggested
-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 */ |