summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Access.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-02-07 10:32:18 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-02-17 10:00:25 +0100
commit44680b5c3b5b441192a36cc5fada5e23fe7de571 (patch)
tree3f6c1fdbe3c50bf17a4df41e73b2dce029887a66 /apps/user_ldap/lib/Access.php
parenta6ad06f940ce7d79a72262e67860cf237593bb09 (diff)
downloadnextcloud-server-44680b5c3b5b441192a36cc5fada5e23fe7de571.tar.gz
nextcloud-server-44680b5c3b5b441192a36cc5fada5e23fe7de571.zip
Make it explicit that a DN can be used for ldap:check-user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-rw-r--r--apps/user_ldap/lib/Access.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index ed5e5bff9ce..bda495bc9a8 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -488,7 +488,7 @@ class Access extends LDAPUtility {
/**
* returns the internal Nextcloud name for the given LDAP DN of the user, false on DN outside of search DN or failure
*
- * @param string $dn the dn of the user object
+ * @param string $fdn the dn of the user object
* @param string $ldapName optional, the display name of the object
* @return string|false with with the name to use in Nextcloud
* @throws \Exception
@@ -1770,7 +1770,7 @@ class Access extends LDAPUtility {
/**
* @param string $dn
* @param bool $isUser
- * @param null $ldapRecord
+ * @param array|null $ldapRecord
* @return false|string
* @throws ServerNotAvailableException
*/