aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Migration/GroupMappingMigration.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Migration/GroupMappingMigration.php')
-rw-r--r--apps/user_ldap/lib/Migration/GroupMappingMigration.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/user_ldap/lib/Migration/GroupMappingMigration.php b/apps/user_ldap/lib/Migration/GroupMappingMigration.php
index 437bb202bba..7dfb8705770 100644
--- a/apps/user_ldap/lib/Migration/GroupMappingMigration.php
+++ b/apps/user_ldap/lib/Migration/GroupMappingMigration.php
@@ -14,11 +14,9 @@ use OCP\Migration\SimpleMigrationStep;
abstract class GroupMappingMigration extends SimpleMigrationStep {
- /** @var IDBConnection */
- private $dbc;
-
- public function __construct(IDBConnection $dbc) {
- $this->dbc = $dbc;
+ public function __construct(
+ private IDBConnection $dbc,
+ ) {
}
protected function copyGroupMappingData(string $sourceTable, string $destinationTable): void {