diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-03-05 13:30:28 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-03-05 13:30:28 +0100 |
commit | 4f8c724318de286ee19af83c4b199f8ba53ff9ef (patch) | |
tree | 9e4604773ab75f792e8af0d74a8f21bdca4ede84 /apps/user_ldap/lib | |
parent | 8607992e85531956f8274efd1fa6bd4587ea6a39 (diff) | |
download | nextcloud-server-4f8c724318de286ee19af83c4b199f8ba53ff9ef.tar.gz nextcloud-server-4f8c724318de286ee19af83c4b199f8ba53ff9ef.zip |
typo + phpdoc
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r-- | apps/user_ldap/lib/Access.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 482fc80b0a9..4ae7dbe4d25 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -587,7 +587,7 @@ class Access extends LDAPUtility implements IUserTools { 'level' => Util::WARN, ]); // we don't attempt to set a username here. We can go for - // for an alternativ 4 digit random number as we would append + // for an alternative 4 digit random number as we would append // otherwise, however it's likely not enough space in bigger // setups, and most importantly: this is not intended. return false; @@ -1304,6 +1304,7 @@ class Access extends LDAPUtility implements IUserTools { /** * @param string $name * @return string + * @throws \InvalidArgumentException */ public function sanitizeUsername($name) { if($this->connection->ldapIgnoreNamingRules) { |