diff options
author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2016-02-17 13:21:07 +0000 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-19 09:43:11 +0100 |
commit | 0d0151a3e1fff5d98f2c764a90e7ebf4f98ae729 (patch) | |
tree | 1e5c1ea5113b1d1dfb2d51b86ecfe3fd244b8e9f /lib/private/group | |
parent | ae2304f23f04f1d6c84f2a049a4b0fdc0c9023c6 (diff) | |
download | nextcloud-server-0d0151a3e1fff5d98f2c764a90e7ebf4f98ae729.tar.gz nextcloud-server-0d0151a3e1fff5d98f2c764a90e7ebf4f98ae729.zip |
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'lib/private/group')
-rw-r--r-- | lib/private/group/dummy.php | 2 | ||||
-rw-r--r-- | lib/private/group/manager.php | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/group/dummy.php b/lib/private/group/dummy.php index c0d206a34e1..3e4dfeba5e3 100644 --- a/lib/private/group/dummy.php +++ b/lib/private/group/dummy.php @@ -106,7 +106,7 @@ class OC_Group_Dummy extends OC_Group_Backend { * Removes a user from a group * @param string $uid Name of the user to remove from group * @param string $gid Name of the group from which remove the user - * @return bool + * @return null|false * * removes the user from a group. */ diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php index 98e5551bcc5..1f4092ed606 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -150,6 +150,9 @@ class Manager extends PublicEmitter implements IGroupManager { return $this->getGroupObject($gid); } + /** + * @param string $gid + */ protected function getGroupObject($gid) { $backends = array(); foreach ($this->backends as $backend) { |