Passed
Branch master (f8decb)
by Stone
02:25
created
Core/Router.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             return $url;
111 111
         }
112 112
         return [];
113
-   }
113
+    }
114 114
 
115 115
 
116 116
     /**
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         }else{
140 140
             throw new \Exception("Class <i>$controllerWithNamespace</i> doesn't exist", 404);
141 141
         }
142
-   }
142
+    }
143 143
 
144 144
     /**
145 145
      * Convert the string with hyphens to StudlyCaps,
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,11 +132,11 @@
 block discarded – undo
132 132
             $methodToRun = $this->currentMethod;
133 133
             if(method_exists($controllerInstantiated, $methodToRun)){
134 134
                 call_user_func_array([$controllerInstantiated, $methodToRun], $this->currentParams);
135
-            }else{
135
+            } else{
136 136
                 throw new \Exception("ERROR - Method <i>$methodToRun</i>() doesn't exist or is inaccessible");
137 137
             }
138 138
 
139
-        }else{
139
+        } else{
140 140
             throw new \Exception("Class <i>$controllerWithNamespace</i> doesn't exist", 404);
141 141
         }
142 142
    }
Please login to merge, or discard this patch.