Passed
Branch v2-dev (b2175f)
by Henri
01:32
created
examples/index.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /* Return current action route */
27 27
     $action = Router::currentAction();
28 28
 
29
-}catch(Exception $er){
29
+} catch(Exception $er){
30 30
 
31 31
     die("Code Error: {$er->getCode()}, Line: {$er->getLine()}, File: {$er->getFile()}, Message: {$er->getMessage()}.");
32 32
 
Please login to merge, or discard this patch.
src/Router.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                 self::getInstance()->checkMethod($route, $_SERVER['REQUEST_METHOD']);
80 80
                 self::getInstance()->checkData($route, (new Uri($_SERVER['REQUEST_URI']))->getPath());
81 81
                 return self::getInstance();
82
-            }catch(\Exception $er){
82
+            } catch(\Exception $er){
83 83
                 continue;
84 84
             }
85 85
         }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         
99 99
         try{
100 100
             self::getInstance()->executeRouteAction();
101
-        }catch(\Exception $er){
101
+        } catch(\Exception $er){
102 102
             self::getInstance()->error = $er;
103 103
         }
104 104
         
Please login to merge, or discard this patch.