@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return mixed |
|
73 | + * @return Request |
|
74 | 74 | */ |
75 | 75 | public function getRequest() |
76 | 76 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return mixed |
|
89 | + * @return Response |
|
90 | 90 | */ |
91 | 91 | public function getResponse() |
92 | 92 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * Create Route object from static function |
47 | 47 | * @param Request $request |
48 | 48 | * @param Response $response |
49 | - * @return Route |
|
49 | + * @return RouteHandle |
|
50 | 50 | */ |
51 | 51 | public static function create(Request &$request = null, Response &$response = null) |
52 | 52 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * Handle route with action callback |
80 | - * @param $func |
|
80 | + * @param callable $func |
|
81 | 81 | */ |
82 | 82 | private function handleCallback($func) |
83 | 83 | { |