Completed
Push — master ( 442a8f...ffc898 )
by David
01:57
created
Services/TagManagerVariables.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
     }
172 172
 
173 173
     /**
174
-     * @param $string
174
+     * @param string $string
175 175
      *
176 176
      * @return string
177 177
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
             return $compiler->compileString($string);
196 196
         } catch (\Exception $exception) {
197 197
             return json_encode([
198
-               'error' => sprintf('Error while compiling the dataLayer: %s', $exception->getMessage()),
198
+                'error' => sprintf('Error while compiling the dataLayer: %s', $exception->getMessage()),
199 199
             ]);
200 200
         }
201 201
     }
Please login to merge, or discard this patch.
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.