Completed
Push — master ( 169ca3...e1781d )
by Dan
02:52
created
Src/Router/Adaptor/FastRoute.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,10 +114,10 @@
 block discarded – undo
114 114
         return \FastRoute\cachedDispatcher(
115 115
             function(RouteCollector $r) use ($routes){
116 116
                 foreach($routes as $route){
117
-                   $r->addRoute($route['method'],$route['pattern'],$route['handler']);
117
+                    $r->addRoute($route['method'],$route['pattern'],$route['handler']);
118 118
                 }
119 119
             },
120
-           $this->options
120
+            $this->options
121 121
         );
122 122
     }
123 123
 
Please login to merge, or discard this patch.
Src/Router/Handler/ClassHandler.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         try{
54 54
             $this->resolveController( $this->controller);
55 55
             $this->resolveMethod( $this->method );
56
-        }catch(\Exception $e){
56
+        } catch(\Exception $e){
57 57
             $this->resolved = new $this->controller(...$arguments);
58 58
         }
59 59
 
Please login to merge, or discard this patch.
Src/Router/Handler/Handler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param $name
57 57
      */
58 58
     public function addName($name = ''){
59
-       $this->name[$name] = $name;
59
+        $this->name[$name] = $name;
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
Src/Router/Routes.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
         if ($this->groupedRoute === false){
55 55
             $routePattern = $pattern;
56
-        }else{
56
+        } else{
57 57
             $routePattern = implode('',$this->dir).$pattern;
58 58
         }
59 59
 
Please login to merge, or discard this patch.