@@ -113,7 +113,7 @@ |
||
113 | 113 | * |
114 | 114 | * After the stream has been detached, the stream is in an unusable state. |
115 | 115 | * |
116 | - * @return resource|null Underlying PHP stream, if any |
|
116 | + * @return resource Underlying PHP stream, if any |
|
117 | 117 | */ |
118 | 118 | public function detach() |
119 | 119 | { |
@@ -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 @@ discard block |
||
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() |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * a null value. |
278 | 278 | * |
279 | 279 | * @param string $name Case-insensitive header field name. |
280 | - * @return string|null A string of values as provided for the given header |
|
280 | + * @return string A string of values as provided for the given header |
|
281 | 281 | * concatenated together using a comma. If the header does not appear in |
282 | 282 | * the message, this method MUST return a null value. |
283 | 283 | */ |
@@ -442,7 +442,7 @@ discard block |
||
442 | 442 | * |
443 | 443 | * @link http://tools.ietf.org/html/rfc7231#section-6 |
444 | 444 | * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml |
445 | - * @return string|null Reason phrase, or null if unknown. |
|
445 | + * @return string Reason phrase, or null if unknown. |
|
446 | 446 | */ |
447 | 447 | public function getReasonPhrase() |
448 | 448 | { |
@@ -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) |