Passed
Push — master ( 83de64...44197b )
by Anthony
02:43
created
EventListener/GuidAwareListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function prePersist($entity)
25 25
     {
26 26
         if ($entity->getGuid() === null) {
27
-            $entity->setGuid((string)Uuid::uuid4());
27
+            $entity->setGuid((string) Uuid::uuid4());
28 28
         }
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
Controller/NavigationBuilderController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@
 block discarded – undo
44 44
         ]);
45 45
 
46 46
         foreach ($modules as $module) {
47
-            $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath
48
-                ($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true);
47
+            $navigation = json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath($module->getPackageName(), $module->getDevMode()) . "/Resources/json/navigation.json"), true);
49 48
 
50 49
             foreach ($navigation["items"] as $item) {
51 50
                 if ($this->get("ribs_admin.acess_rights")->testRight($item["right"]) && (!isset($item["position"]) || $item["position"] === "left")) {
Please login to merge, or discard this patch.