Completed
Push — master ( 2e923a...169ca3 )
by Dan
05:16
created
Src/Router/Handler/Handler.php 1 patch
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.
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/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.