Skip to content

Commit 1c6c0fd

Browse files
committed
docs: add deprecated
1 parent f423b2b commit 1c6c0fd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

user_guide_src/source/incoming/request.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ Class Reference
3636

3737
.. php:method:: isValidIP($ip[, $which = ''])
3838
39+
.. deprecated:: 4.0.5
40+
Use :doc:`../libraries/validation` instead.
41+
3942
.. important:: This method is deprecated. It will be removed in future releases.
4043

4144
:param string $ip: IP address
@@ -68,6 +71,9 @@ Class Reference
6871

6972
.. php:method:: setMethod($method)
7073
74+
.. deprecated:: 4.0.5
75+
Use :php:meth:`CodeIgniter\\HTTP\\Request::withMethod()` instead.
76+
7177
:param string $upper: Sets the request method. Used when spoofing the request.
7278
:returns: HTTP request method
7379
:rtype: Request

0 commit comments

Comments
 (0)