@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | |
347 | 347 | /** |
348 | 348 | * Specifies the URI instance. |
349 | - * @param UriInterface|\Closure|array $uri URI instance or its DI compatible configuration. |
|
349 | + * @param UriInterface $uri URI instance or its DI compatible configuration. |
|
350 | 350 | * @since 2.1.0 |
351 | 351 | */ |
352 | 352 | public function setUri($uri) |
@@ -575,7 +575,7 @@ discard block |
||
575 | 575 | * If the parameter does not exist, the second parameter passed to this method will be returned. |
576 | 576 | * @param string $name the parameter name |
577 | 577 | * @param mixed $defaultValue the default parameter value if the parameter does not exist. |
578 | - * @return mixed the parameter value |
|
578 | + * @return string the parameter value |
|
579 | 579 | * @see getBodyParams() |
580 | 580 | * @see setBodyParams() |
581 | 581 | */ |