summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/group_ldap.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-14 17:39:29 +0200
committerBart Visscher <bartv@thisnet.nl>2014-04-15 21:05:49 +0200
commitbad41c05b80f22954d88120fa220b13cd5de5c4f (patch)
treee8c51aebb2e0b468e30ac17fe882b43a060ebc82 /apps/user_ldap/group_ldap.php
parentd826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff)
downloadnextcloud-server-bad41c05b80f22954d88120fa220b13cd5de5c4f.tar.gz
nextcloud-server-bad41c05b80f22954d88120fa220b13cd5de5c4f.zip
Fix PHPdoc in user_ldap
using scrutinizer patch
Diffstat (limited to 'apps/user_ldap/group_ldap.php')
-rw-r--r--apps/user_ldap/group_ldap.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index 40d9dec1410..3b5f377e108 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -88,6 +88,10 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
return $isInGroup;
}
+ /**
+ * @param string $dnGroup
+ * @param array|null &$seen
+ */
private function _groupMembers($dnGroup, &$seen = null) {
if ($seen === null) {
$seen = array();
@@ -163,6 +167,10 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
return $groups;
}
+ /**
+ * @param string $dn
+ * @param array|null &$seen
+ */
private function getGroupsByMember($dn, &$seen = null) {
if ($seen === null) {
$seen = array();
@@ -454,6 +462,9 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
return $allGroups;
}
+ /**
+ * @param string $group
+ */
public function groupMatchesFilter($group) {
return (strripos($group, $this->groupSearch) !== false);
}