@@ -499,7 +499,7 @@ discard block |
||
499 | 499 | |
500 | 500 | /** |
501 | 501 | * Specifies the URI instance. |
502 | - * @param UriInterface|\Closure|array $uri URI instance or its DI compatible configuration. |
|
502 | + * @param UriInterface $uri URI instance or its DI compatible configuration. |
|
503 | 503 | * @since 2.1.0 |
504 | 504 | */ |
505 | 505 | public function setUri($uri) |
@@ -750,7 +750,7 @@ discard block |
||
750 | 750 | * If the parameter does not exist, the second parameter passed to this method will be returned. |
751 | 751 | * @param string $name the parameter name |
752 | 752 | * @param mixed $defaultValue the default parameter value if the parameter does not exist. |
753 | - * @return mixed the parameter value |
|
753 | + * @return string the parameter value |
|
754 | 754 | * @see getParsedBody() |
755 | 755 | * @see setParsedParams() |
756 | 756 | */ |
@@ -876,7 +876,7 @@ discard block |
||
876 | 876 | /** |
877 | 877 | * Return the server environment parameter by name. |
878 | 878 | * @param string $name parameter name. |
879 | - * @param mixed $default default value to return if the parameter does not exist. |
|
879 | + * @param string $default default value to return if the parameter does not exist. |
|
880 | 880 | * @return mixed parameter value. |
881 | 881 | * @since 2.1.0 |
882 | 882 | */ |