Completed
Push — master ( c07a8d...cda490 )
by De Cramer
11s
created
src/eXpansion/Framework/Config/Plugins/MenuItems.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,9 +73,9 @@  discard block
 block discarded – undo
73 73
     {
74 74
         foreach ($configItems as $configId => $configItem) {
75 75
             $subItems = reset($configItem);
76
-            $path = $parentId . '/' . $configId;
77
-            $configPath = str_replace("admin/server/config/",'', $path);
78
-            $translationKey = 'expansion_config.menu.' . implode('.', explode('/', $configPath)) . '.label';
76
+            $path = $parentId.'/'.$configId;
77
+            $configPath = str_replace("admin/server/config/", '', $path);
78
+            $translationKey = 'expansion_config.menu.'.implode('.', explode('/', $configPath)).'.label';
79 79
 
80 80
             if (is_array($subItems)) {
81 81
                 $root->addChild(
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                     $path,
93 93
                     $translationKey,
94 94
                     'admin_config', // Default config on each element.
95
-                    ['cmd' => '/admin config "' . $configPath . '"']
95
+                    ['cmd' => '/admin config "'.$configPath.'"']
96 96
                 );
97 97
             }
98 98
         }
Please login to merge, or discard this patch.