Completed
Push — 3.0 ( c184ef )
by Alexander
12:54
created
framework/web/Request.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
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 3.0.0
504 504
      */
505 505
     public function setUri($uri)
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
      * If the parameter does not exist, the second parameter passed to this method will be returned.
745 745
      * @param string $name the parameter name
746 746
      * @param mixed $defaultValue the default parameter value if the parameter does not exist.
747
-     * @return mixed the parameter value
747
+     * @return string the parameter value
748 748
      * @see getParsedBody()
749 749
      * @see setParsedBody()
750 750
      */
@@ -879,7 +879,7 @@  discard block
 block discarded – undo
879 879
     /**
880 880
      * Return the server environment parameter by name.
881 881
      * @param string $name parameter name.
882
-     * @param mixed $default default value to return if the parameter does not exist.
882
+     * @param string $default default value to return if the parameter does not exist.
883 883
      * @return mixed parameter value.
884 884
      * @since 3.0.0
885 885
      */
Please login to merge, or discard this patch.