aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-09-28 16:15:00 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-10-19 11:43:59 +0200
commitb41b9cf4c0da2e6e3c0502f51a5a9942ecff6fb3 (patch)
treee9b5aa7e07a4f459441de4b3fcee3ec23370fdcb /apps/user_ldap/lib
parent1202171b3214e7d9588bfc37b72a54f5f63b360c (diff)
downloadnextcloud-server-b41b9cf4c0da2e6e3c0502f51a5a9942ecff6fb3.tar.gz
nextcloud-server-b41b9cf4c0da2e6e3c0502f51a5a9942ecff6fb3.zip
Small cleanups in SetupCheck classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php b/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php
index 473fedc5c1d..a11246fd142 100644
--- a/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php
+++ b/apps/user_ldap/lib/SetupChecks/LdapInvalidUuids.php
@@ -34,14 +34,11 @@ use OCP\SetupCheck\ISetupCheck;
use OCP\SetupCheck\SetupResult;
class LdapInvalidUuids implements ISetupCheck {
- private IL10N $l10n;
- private UserMapping $userMapping;
- private GroupMapping $groupMapping;
-
- public function __construct(IL10N $l10n, UserMapping $userMapping, GroupMapping $groupMapping) {
- $this->l10n = $l10n;
- $this->userMapping = $userMapping;
- $this->groupMapping = $groupMapping;
+ public function __construct(
+ private IL10N $l10n,
+ private UserMapping $userMapping,
+ private GroupMapping $groupMapping,
+ ) {
}
public function getCategory(): string {