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