Passed
Branch master (63f321)
by Henri
02:21 queued 01:09
created
examples/index.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     
12 12
     Router::create()->dispatch();
13 13
 
14
-}catch(Exception $er){
14
+} catch(Exception $er){
15 15
 
16 16
     die($er->getCode().'  -  '.$er->getMessage());
17 17
 
Please login to merge, or discard this patch.
src/Router.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
                         continue;
167 167
                     }
168 168
                 }
169
-	        }else{
169
+	        } else{
170 170
 				if($route['protocol'] !== $currentProtocol){
171 171
                     continue;
172 172
                 }
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
 	                foreach($route['filters'] as $filter){
211 211
 	                    $this->filter->filtering($filter);
212 212
 	                }
213
-	            }else{
213
+	            } else{
214 214
 	                $this->filter->filtering($route['filters']);
215 215
 	            }
216 216
 	        }
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 
237 237
             }
238 238
             
239
-        }else{
239
+        } else{
240 240
             self::getInstance()->routers[count(self::getInstance()->routers)-1] = self::getInstance()->addFilter(end(self::getInstance()->routers),$filters);
241 241
         }
242 242
 
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
             foreach ($route['filters'] as $key => $value) {
257 257
                 $filters[] = $value;
258 258
             }
259
-        }else{
259
+        } else{
260 260
             $filters[] = $route['filters'];
261 261
         }
262 262
 
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
         if( ( $this->getProtocol() == 'form') ){
294 294
             $this->ControllerForm($controller, $method, $data['POST']);
295
-        }else {
295
+        } else {
296 296
             $controller->$method($data);
297 297
         }
298 298
     }    
Please login to merge, or discard this patch.