@@ -109,6 +109,9 @@ |
||
| 109 | 109 | return $this->detectResponse($response, $output); |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | + /** |
|
| 113 | + * @param string $output |
|
| 114 | + */ |
|
| 112 | 115 | private function detectResponse(ResponseInterface $response, $output) |
| 113 | 116 | { |
| 114 | 117 | $response->getBody()->write($output); |
@@ -558,7 +558,7 @@ |
||
| 558 | 558 | * |
| 559 | 559 | * @param array|array $methods HTTP method to accept |
| 560 | 560 | * @param null|string $uri the uri of the route |
| 561 | - * @param null|array|Closure|string $action a requesthandler or controller |
|
| 561 | + * @param callable|null $action a requesthandler or controller |
|
| 562 | 562 | * |
| 563 | 563 | * @throws RuntimeException when called after match() have been called |
| 564 | 564 | * |