aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/LDAPUtility.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/LDAPUtility.php')
-rw-r--r--apps/user_ldap/lib/LDAPUtility.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/user_ldap/lib/LDAPUtility.php b/apps/user_ldap/lib/LDAPUtility.php
index bca6ec37ecf..39b517528e2 100644
--- a/apps/user_ldap/lib/LDAPUtility.php
+++ b/apps/user_ldap/lib/LDAPUtility.php
@@ -8,13 +8,12 @@
namespace OCA\User_LDAP;
abstract class LDAPUtility {
- protected ILDAPWrapper $ldap;
-
/**
* constructor, make sure the subclasses call this one!
- * @param ILDAPWrapper $ldapWrapper an instance of an ILDAPWrapper
+ * @param ILDAPWrapper $ldap an instance of an ILDAPWrapper
*/
- public function __construct(ILDAPWrapper $ldapWrapper) {
- $this->ldap = $ldapWrapper;
+ public function __construct(
+ protected ILDAPWrapper $ldap,
+ ) {
}
}