Adjust PHPDoc as suggested

This commit is contained in:
Thomas Müller 2015-11-20 14:38:29 +01:00
parent c565a7b042
commit c86483f3ed
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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) {

View File

@ -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
*/