summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Access.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-06 14:00:27 +0200
committerGitHub <noreply@github.com>2020-07-06 14:00:27 +0200
commitd72d9ff1f48eb282101c29aeea2a13c7f1368f8f (patch)
tree88889d2c9e7509b4867d4075f31741cfb2be2b8b /apps/user_ldap/lib/Access.php
parentdb782fefa13c75586c00bdd8b913253f92f70c1e (diff)
parent64fe042b0dea30587dd044c6d90220fc7de593b6 (diff)
downloadnextcloud-server-d72d9ff1f48eb282101c29aeea2a13c7f1368f8f.tar.gz
nextcloud-server-d72d9ff1f48eb282101c29aeea2a13c7f1368f8f.zip
Merge pull request #21171 from nextcloud/enh/noid/tidy-up-group-ldap
tidy up Group_LDAP
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 b93d92b81dd..ef4b5c9434e 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1435,7 +1435,7 @@ class Access extends LDAPUtility {
* @param bool $allowAsterisk whether in * at the beginning should be preserved
* @return string the escaped string
*/
- public function escapeFilterPart($input, $allowAsterisk = false) {
+ public function escapeFilterPart($input, $allowAsterisk = false): string {
$asterisk = '';
if ($allowAsterisk && strlen($input) > 0 && $input[0] === '*') {
$asterisk = '*';
@@ -1452,7 +1452,7 @@ class Access extends LDAPUtility {
* @param string[] $filters the filters to connect
* @return string the combined filter
*/
- public function combineFilterWithAnd($filters) {
+ public function combineFilterWithAnd($filters): string {
return $this->combineFilter($filters, '&');
}