OSDN Git Service

Fixed misleading indentation
authorlaokaplow <laokaplow@gmail.com>
Sun, 1 Apr 2012 03:08:59 +0000 (20:08 -0700)
committerlaokaplow <laokaplow@gmail.com>
Sun, 1 Apr 2012 03:08:59 +0000 (20:08 -0700)
Route.php

index 80af4ac..5f9e3fc 100644 (file)
--- a/Route.php
+++ b/Route.php
@@ -85,10 +85,10 @@ class Route {
 
        private function substituteFilter($matches) {
                if (isset($matches[1]) && isset($this->filters[$matches[1]])) {
-            return $this->filters[$matches[1]];
-        }
+                       return $this->filters[$matches[1]];
+               }
         
-        return "(\w+)";
+               return "(\w+)";
        }
 
        public function getParameters() {