Completed
Push — master ( 162440...36d805 )
by David
05: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
 
63 62
         if ($module->getId() && $module->getModule() !== $params['module']) {
64 63
             $this->container->get('dbal_connection')->update(
@@ -92,7 +91,7 @@  discard block
 block discarded – undo
92 91
      */
93 92
     public function deleteAction()
94 93
     {
95
-        $id = (int) $this->Request()->get('id');
94
+        $id = (int)$this->Request()->get('id');
96 95
 
97 96
         /** @var Module $module */
98 97
         $module = $this->container->get('models')->getRepository(Module::class)->find($id);
Please login to merge, or discard this patch.