@@ -46,7 +46,6 @@ |
||
46 | 46 | /** |
47 | 47 | * run app |
48 | 48 | * |
49 | - * @param array $routerGroups |
|
50 | 49 | * @return Kernel |
51 | 50 | */ |
52 | 51 | public function run(array $groups = []): Kernel |
@@ -56,7 +56,6 @@ |
||
56 | 56 | * Run middleware around core function and pass an |
57 | 57 | * object through it |
58 | 58 | * |
59 | - * @param Container $container |
|
60 | 59 | * @param Closure $core |
61 | 60 | * @return mixed |
62 | 61 | */ |
@@ -76,7 +76,7 @@ |
||
76 | 76 | /** |
77 | 77 | * returns http param for a given key |
78 | 78 | * |
79 | - * @return array |
|
79 | + * @return string |
|
80 | 80 | */ |
81 | 81 | public function getParam(string $key): string |
82 | 82 | { |
@@ -216,7 +216,6 @@ |
||
216 | 216 | * invoke action from a controller an return exec code. |
217 | 217 | * for testing purpose return retValue if false |
218 | 218 | * |
219 | - * @param boolean $forceRetValue |
|
220 | 219 | * @return mixed |
221 | 220 | */ |
222 | 221 | protected function invokeAction(...$args) |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * returns http param for a given key |
54 | 54 | * |
55 | - * @return array |
|
55 | + * @return string |
|
56 | 56 | */ |
57 | 57 | public function getParam(string $key): string; |
58 | 58 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * |
48 | 48 | * @param RouteInterface $route |
49 | 49 | * @param array $matches |
50 | - * @return RouRouterInterfaceter |
|
50 | + * @return RouterInterface |
|
51 | 51 | */ |
52 | 52 | public function setParams(RouteInterface $route, array $matches): RouterInterface; |
53 | 53 |