Completed
Push — master ( 169ca3...e1781d )
by Dan
02:52
created
Src/Router/Handler/Handler.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * Get route (early) middleware pre-response.
72
-     * @return mixed
72
+     * @return string
73 73
      */
74 74
     public function getPreResponse(){
75 75
         return $this->preResponse;
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * Set handler pre-response.
80
-     * @param $string
80
+     * @param string $string
81 81
      * @return $this
82 82
      */
83 83
     public function withPreResponse($string){
Please login to merge, or discard this 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/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.