Completed
Push — master ( ab2f9c...c343b6 )
by David
01:57
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
         $property = $this->container->get('models')->getRepository(Module::class)->find($id);
87 86
 
Please login to merge, or discard this patch.
Controllers/Backend/WbmTagManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     public function listAction()
29 29
     {
30
-        $id = (int) $this->Request()->getParam('id', null);
30
+        $id = (int)$this->Request()->getParam('id', null);
31 31
         $module = $this->Request()->getParam('moduleName', null);
32 32
 
33 33
         $data = $this->container->get('models')->getRepository('WbmTagManager\Models\Property')->getChildrenList($id, $module);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public function updateAction()
65 65
     {
66 66
         $params = $this->Request()->getPost();
67
-        $id = (int) $this->Request()->get('id');
67
+        $id = (int)$this->Request()->get('id');
68 68
 
69 69
         /** @var Property $property */
70 70
         $property = $this->container->get('models')->getRepository('WbmTagManager\Models\Property')->find($id);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function deleteAction()
85 85
     {
86
-        $id = (int) $this->Request()->get('id');
86
+        $id = (int)$this->Request()->get('id');
87 87
 
88 88
         /** @var Property $property */
89 89
         $property = $this->container->get('models')->getRepository('WbmTagManager\Models\Property')->find($id);
Please login to merge, or discard this patch.