File tree Expand file tree Collapse file tree
apps/settings/lib/Command/AdminDelegation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ private function getDelegatedSettings(array $settings, array $innerSection): arr
9393 return $ settings + array_filter ($ innerSection , fn (ISettings $ setting ) => $ setting instanceof IDelegatedSettings);
9494 }
9595
96- protected function buildJsonOutput (array $ sections ): array {
96+ private function buildJsonOutput (array $ sections ): array {
9797 $ currentDelegations = [
98- 'current_delegations ' => []
98+ 'currentDelegations ' => []
9999 ];
100100
101101 foreach ($ sections as $ sectionPriority ) {
@@ -106,7 +106,7 @@ protected function buildJsonOutput(array $sections): array {
106106 continue ;
107107 }
108108
109- $ currentDelegations ['current_delegations ' ][] = [
109+ $ currentDelegations ['currentDelegations ' ][] = [
110110 'section ' => $ section ->getID (),
111111 'delegations ' =>
112112 array_map (function (IDelegatedSettings $ setting ) use ($ section , $ headers ) {
You can’t perform that action at this time.
0 commit comments