Passed
Push — master ( 1f7fc5...40eec0 )
by Darío
02:01
created
src/Mvc/Layout.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -174,8 +174,8 @@  discard block
 block discarded – undo
174 174
     {
175 175
         foreach ($params as $param => $value)
176 176
         {
177
-            if (property_exists(__CLASS__, strtolower($param)) && method_exists($this, 'set'.$param))
178
-                $this->{'set'.$param}($value);
177
+            if (property_exists(__CLASS__, strtolower($param)) && method_exists($this, 'set' . $param))
178
+                $this->{'set' . $param}($value);
179 179
         }
180 180
     }
181 181
 
@@ -198,9 +198,9 @@  discard block
 block discarded – undo
198 198
 
199 199
         if ($controller->getShowView())
200 200
             $this->view =
201
-                $controller->getModule()->getModulePath() .'/'. $controller->getModule()->getModuleName() .'/'.
202
-                $controller->getModule()->getViewPath()                .'/'.
203
-                basename(str_replace('\\','/',get_class($controller))) .'/'.
201
+                $controller->getModule()->getModulePath() . '/' . $controller->getModule()->getModuleName() . '/' .
202
+                $controller->getModule()->getViewPath() . '/' .
203
+                basename(str_replace('\\', '/', get_class($controller))) . '/' .
204 204
                 $controller->getMethod() . '.phtml';
205 205
 
206 206
         if ($controller->getTerminal())
Please login to merge, or discard this patch.
src/Mvc/AbstractModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     public function getConfig()
199 199
     {
200 200
         return include(
201
-            $this->router->getBasePath() .'/'. $this->modulePath .'/' . $this->getModuleName() . '/config/module.config.php'
201
+            $this->router->getBasePath() . '/' . $this->modulePath . '/' . $this->getModuleName() . '/config/module.config.php'
202 202
         );
203 203
     }
204 204
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
         $nm = explode('\\', $name);
215 215
         $module = array_shift($nm);
216 216
 
217
-        $class = $this->router->getBasePath() .'/'. $this->modulePath ."/". $module . "/source/" . implode("/", $nm) . ".php";
217
+        $class = $this->router->getBasePath() . '/' . $this->modulePath . "/" . $module . "/source/" . implode("/", $nm) . ".php";
218 218
 
219 219
         if (file_exists($class))
220 220
             include $class;
Please login to merge, or discard this patch.