Completed
Push — master ( 9d6b60...66885a )
by David
02:09
created
Controllers/Backend/WbmTagManagerModules.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,11 +54,10 @@  discard block
 block discarded – undo
54 54
     public function saveAction()
55 55
     {
56 56
         $params = $this->Request()->getPost();
57
-        $id = (int) $this->Request()->get('id');
57
+        $id = (int)$this->Request()->get('id');
58 58
 
59 59
         $module = $id ?
60
-            $this->container->get('models')->getRepository(Module::class)->find($id) :
61
-            new Module();
60
+            $this->container->get('models')->getRepository(Module::class)->find($id) : new Module();
62 61
         $module->fromArray($params);
63 62
 
64 63
         $this->container->get('models')->persist($module);
@@ -81,7 +80,7 @@  discard block
 block discarded – undo
81 80
      */
82 81
     public function deleteAction()
83 82
     {
84
-        $id = (int) $this->Request()->get('id');
83
+        $id = (int)$this->Request()->get('id');
85 84
 
86 85
         /** @var Module $module */
87 86
         $module = $this->container->get('models')->getRepository(Module::class)->find($id);
Please login to merge, or discard this patch.