aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Command/AdminDelegation
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-19 11:10:31 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-19 14:21:20 +0200
commit9836e9b16484582d309c8437ab46d82e34956941 (patch)
treed3da87bb7dfd1a8877ed25072ecf609def844089 /apps/settings/lib/Command/AdminDelegation
parent8c60ffa0f21414e6e671c567d664a9b9e5253e26 (diff)
downloadnextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.tar.gz
nextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.zip
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/settings/lib/Command/AdminDelegation')
-rw-r--r--apps/settings/lib/Command/AdminDelegation/Add.php2
-rw-r--r--apps/settings/lib/Command/AdminDelegation/Remove.php4
-rw-r--r--apps/settings/lib/Command/AdminDelegation/Show.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings/lib/Command/AdminDelegation/Add.php b/apps/settings/lib/Command/AdminDelegation/Add.php
index 26a13b2cd6e..5cbef5c5d15 100644
--- a/apps/settings/lib/Command/AdminDelegation/Add.php
+++ b/apps/settings/lib/Command/AdminDelegation/Add.php
@@ -52,7 +52,7 @@ class Add extends Base {
$this->authorizedGroupService->create($groupId, $settingClass);
- $io->success('Administration of '.$settingClass.' delegated to '.$groupId.'.');
+ $io->success('Administration of ' . $settingClass . ' delegated to ' . $groupId . '.');
return 0;
}
diff --git a/apps/settings/lib/Command/AdminDelegation/Remove.php b/apps/settings/lib/Command/AdminDelegation/Remove.php
index 584b9201193..6b5347ce89f 100644
--- a/apps/settings/lib/Command/AdminDelegation/Remove.php
+++ b/apps/settings/lib/Command/AdminDelegation/Remove.php
@@ -43,12 +43,12 @@ class Remove extends Base {
foreach ($groups as $group) {
if ($group->getGroupId() === $groupId) {
$this->authorizedGroupService->delete($group->getId());
- $io->success('Removed delegation of '.$settingClass.' to '.$groupId.'.');
+ $io->success('Removed delegation of ' . $settingClass . ' to ' . $groupId . '.');
return 0;
}
}
- $io->success('Group '.$groupId.' didn’t have delegation for '.$settingClass.'.');
+ $io->success('Group ' . $groupId . ' didn’t have delegation for ' . $settingClass . '.');
return 0;
}
diff --git a/apps/settings/lib/Command/AdminDelegation/Show.php b/apps/settings/lib/Command/AdminDelegation/Show.php
index 73f89ad0ead..9aba6bc0cb7 100644
--- a/apps/settings/lib/Command/AdminDelegation/Show.php
+++ b/apps/settings/lib/Command/AdminDelegation/Show.php
@@ -47,7 +47,7 @@ class Show extends Base {
continue;
}
- $io->section('Section: '.$section->getID());
+ $io->section('Section: ' . $section->getID());
$io->table($headers, array_map(function (IDelegatedSettings $setting) use ($section) {
$className = get_class($setting);
$groups = array_map(