Skip to content

Commit 2ffdaef

Browse files
committed
docs: fix wrong descriptions
1 parent 1c6c0fd commit 2ffdaef

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/incoming/request.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ Class Reference
7474
.. deprecated:: 4.0.5
7575
Use :php:meth:`CodeIgniter\\HTTP\\Request::withMethod()` instead.
7676

77-
:param string $upper: Sets the request method. Used when spoofing the request.
78-
:returns: HTTP request method
77+
:param string $method: Sets the request method. Used when spoofing the request.
78+
:returns: This request
7979
:rtype: Request
8080

8181
.. php:method:: getServer([$index = null[, $filter = null[, $flags = null]]])
@@ -118,8 +118,8 @@ Class Reference
118118
119119
:param string $method: Method name
120120
:param mixed $value: Data to be added
121-
:returns: HTTP request method
122-
:rtype: Request
121+
:returns: This request
122+
:rtype: Request
123123

124124
Allows manually setting the value of PHP global, like ``$_GET``, ``$_POST``, etc.
125125

0 commit comments

Comments
 (0)