@@ -501,7 +501,7 @@ discard block |
||
501 | 501 | |
502 | 502 | /** |
503 | 503 | * Specifies the URI instance. |
504 | - * @param UriInterface|\Closure|array $uri URI instance or its DI compatible configuration. |
|
504 | + * @param UriInterface $uri URI instance or its DI compatible configuration. |
|
505 | 505 | * @since 2.1.0 |
506 | 506 | */ |
507 | 507 | public function setUri($uri) |
@@ -752,7 +752,7 @@ discard block |
||
752 | 752 | * If the parameter does not exist, the second parameter passed to this method will be returned. |
753 | 753 | * @param string $name the parameter name |
754 | 754 | * @param mixed $defaultValue the default parameter value if the parameter does not exist. |
755 | - * @return mixed the parameter value |
|
755 | + * @return string the parameter value |
|
756 | 756 | * @see getParsedBody() |
757 | 757 | * @see setParsedParams() |
758 | 758 | */ |