aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Mapping/UserMapping.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Mapping/UserMapping.php')
-rw-r--r--apps/user_ldap/lib/Mapping/UserMapping.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Mapping/UserMapping.php b/apps/user_ldap/lib/Mapping/UserMapping.php
index 0eeaaef12fd..a030cd0ab52 100644
--- a/apps/user_ldap/lib/Mapping/UserMapping.php
+++ b/apps/user_ldap/lib/Mapping/UserMapping.php
@@ -20,11 +20,12 @@ use OCP\Support\Subscription\IAssertion;
*/
class UserMapping extends AbstractMapping {
- private IAssertion $assertion;
protected const PROV_API_REGEX = '/\/ocs\/v[1-9].php\/cloud\/(groups|users)/';
- public function __construct(IDBConnection $dbc, IAssertion $assertion) {
- $this->assertion = $assertion;
+ public function __construct(
+ IDBConnection $dbc,
+ private IAssertion $assertion,
+ ) {
parent::__construct($dbc);
}