File tree 1 file changed +3
-3
lines changed
apps/settings/lib/Command/AdminDelegation
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ private function getDelegatedSettings(array $settings, array $innerSection): arr
93
93
return $ settings + array_filter ($ innerSection , fn (ISettings $ setting ) => $ setting instanceof IDelegatedSettings);
94
94
}
95
95
96
- protected function buildJsonOutput (array $ sections ): array {
96
+ private function buildJsonOutput (array $ sections ): array {
97
97
$ currentDelegations = [
98
- 'current_delegations ' => []
98
+ 'currentDelegations ' => []
99
99
];
100
100
101
101
foreach ($ sections as $ sectionPriority ) {
@@ -106,7 +106,7 @@ protected function buildJsonOutput(array $sections): array {
106
106
continue ;
107
107
}
108
108
109
- $ currentDelegations ['current_delegations ' ][] = [
109
+ $ currentDelegations ['currentDelegations ' ][] = [
110
110
'section ' => $ section ->getID (),
111
111
'delegations ' =>
112
112
array_map (function (IDelegatedSettings $ setting ) use ($ section , $ headers ) {
You can’t perform that action at this time.
0 commit comments