Passed
Push — master ( 209bed...a0774b )
by Anthony
02:41
created
Controller/NavigationBuilderController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
         ]);
46 46
 
47 47
         foreach ($modules as $module) {
48
-            $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath
49
-                ($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true);
48
+            $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true);
50 49
 
51 50
             foreach ($navigation["items"] as $item) {
52 51
                 if ($access_rights->testRight($item["right"]) && (!isset($item["position"]) || $item["position"] === "left")) {
Please login to merge, or discard this patch.