@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param Request $request |
| 38 | - * @return mixed |
|
| 38 | + * @return Response |
|
| 39 | 39 | * @throws \RuntimeException |
| 40 | 40 | */ |
| 41 | 41 | public function in(Request $request) |
@@ -547,7 +547,7 @@ discard block |
||
| 547 | 547 | /** |
| 548 | 548 | * Get a parameter of this request. |
| 549 | 549 | * |
| 550 | - * @param $key |
|
| 550 | + * @param string $key |
|
| 551 | 551 | * @param null $default |
| 552 | 552 | * @return mixed|null |
| 553 | 553 | */ |
@@ -559,7 +559,7 @@ discard block |
||
| 559 | 559 | /** |
| 560 | 560 | * Check if the request has a parameter with the specified key. |
| 561 | 561 | * |
| 562 | - * @param $key |
|
| 562 | + * @param string $key |
|
| 563 | 563 | * @return bool |
| 564 | 564 | */ |
| 565 | 565 | public function hasParameter($key) |
@@ -221,7 +221,7 @@ |
||
| 221 | 221 | * While header names are not case-sensitive, getHeaders() will preserve the |
| 222 | 222 | * exact case in which headers were originally specified. |
| 223 | 223 | * |
| 224 | - * @return array Returns an associative array of the message's headers. Each |
|
| 224 | + * @return HeaderBag Returns an associative array of the message's headers. Each |
|
| 225 | 225 | * key MUST be a header name, and each value MUST be an array of strings. |
| 226 | 226 | */ |
| 227 | 227 | public function getHeaders() |