Completed
Push — master ( 2a38f9...162440 )
by David
05:11
created
Services/TagManagerVariables.php 1 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
         /** @var Module $module */
87 86
         $module = $this->container->get('models')->getRepository(Module::class)->find($id);
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
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     public function listAction()
38 38
     {
39
-        $id = (int) $this->Request()->getParam('id', null);
39
+        $id = (int)$this->Request()->getParam('id', null);
40 40
         $module = $this->Request()->getParam('moduleName', null);
41 41
 
42 42
         $data = $this->container->get('models')->getRepository(Property::class)->getChildrenList($id, $module);
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     public function updateAction()
74 74
     {
75 75
         $params = $this->Request()->getPost();
76
-        $id = (int) $this->Request()->get('id');
76
+        $id = (int)$this->Request()->get('id');
77 77
 
78 78
         /** @var Property $property */
79 79
         $property = $this->container->get('models')->getRepository(Property::class)->find($id);
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function deleteAction()
94 94
     {
95
-        $id = (int) $this->Request()->get('id');
95
+        $id = (int)$this->Request()->get('id');
96 96
 
97 97
         /** @var Property $property */
98 98
         $property = $this->container->get('models')->getRepository(Property::class)->find($id);
Please login to merge, or discard this patch.
Subscriber/Frontend/Dispatch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 
116 116
         $module = $this->rewriteModuleKey($module, $request->getParam('action'));
117 117
 
118
-        if (!isset($this->modules[$module]) || (bool) $this->modules[$module] !== $isPreDispatch) {
118
+        if (!isset($this->modules[$module]) || (bool)$this->modules[$module] !== $isPreDispatch) {
119 119
             return;
120 120
         }
121 121
 
Please login to merge, or discard this patch.