@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param string $rule for this route |
49 | 49 | * @param mixed $action null, string or callable to implement a controller for the route |
50 | 50 | * |
51 | - * @return class as new route |
|
51 | + * @return Route as new route |
|
52 | 52 | */ |
53 | 53 | public function add($rule, $action = null) |
54 | 54 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @param mixed $action null, string or callable to implement a controller for the route |
73 | 73 | * |
74 | - * @return class as new route |
|
74 | + * @return Route as new route |
|
75 | 75 | */ |
76 | 76 | public function addDefault($action) |
77 | 77 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @param string $rule for this route |
92 | 92 | * @param mixed $action null, string or callable to implement a controller for the route |
93 | 93 | * |
94 | - * @return class as new route |
|
94 | + * @return Route as new route |
|
95 | 95 | */ |
96 | 96 | public function addInternal($rule, $action = null) |
97 | 97 | { |
@@ -107,8 +107,6 @@ discard block |
||
107 | 107 | * Add an internal (not exposed to url-matching) route to the router. |
108 | 108 | * |
109 | 109 | * @param string $rule for this route |
110 | - * @param mixed $action null, string or callable to implement a |
|
111 | - * controller for the route |
|
112 | 110 | * |
113 | 111 | * @return void |
114 | 112 | */ |