Completed
Push — master ( 188443...8f2ae0 )
by Maik
06:56
created
src/Mvc/Application.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -330,8 +330,7 @@  discard block
 block discarded – undo
330 330
 	                'controller' => $controller
331 331
 	            ));
332 332
 	        }
333
-    	}
334
-        else {
333
+    	} else {
335 334
         	$c = $controller;
336 335
         }
337 336
         $settings = $c->getControllerSettings();
@@ -377,8 +376,7 @@  discard block
 block discarded – undo
377 376
         if ( null != $this->router && $this->router->hasRoute($action) ) {
378 377
         	$controllerInstance = $this->router->route($action, $request);
379 378
         	$action = $request->getAction();
380
-        }
381
-        else {
379
+        } else {
382 380
 	        if (! isset($this->controllers[$applicationName][$controller])) {
383 381
 	            $this->getLogger()->error("[{remote}] No such controller {controller}", array(
384 382
 	                'remote' => $request->getRemoteHost(),
Please login to merge, or discard this patch.