Completed
Pull Request — 2.1 (#15416)
by
unknown
19:20
created
framework/web/Request.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.