Skip to content

Commit b19bb0e

Browse files
Merge branch 'codeigniter4:develop' into develop
2 parents a6d64d0 + f59babb commit b19bb0e

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

contributing/documentation.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,18 @@ To a Method
130130
=============
131131

132132
:php:meth:`CodeIgniter\\HTTP\\Response::setCookie()`
133+
134+
****************
135+
Other Directives
136+
****************
137+
138+
New Feature
139+
===========
140+
141+
.. versionadded:: 4.3.0
142+
143+
Deprecated
144+
==========
145+
146+
.. deprecated:: 4.3.0
147+
Use :php:meth:`CodeIgniter\\Database\\BaseBuilder::setData()` instead.

user_guide_src/source/incoming/incomingrequest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ be checked with the ``isAJAX()`` and ``isCLI()`` methods:
4040
which in some cases is not sent by default in XHR requests via JavaScript (i.e., fetch).
4141
See the :doc:`AJAX Requests </general/ajax>` section on how to avoid this problem.
4242

43-
You can check the HTTP method that this request represents with the ``method()`` method:
43+
You can check the HTTP method that this request represents with the ``getMethod()`` method:
4444

4545
.. literalinclude:: incomingrequest/005.php
4646

4747
By default, the method is returned as a lower-case string (i.e., ``'get'``, ``'post'``, etc).
4848

49-
.. note:: The functionality to convert the return value to lower case is deprecated.
49+
.. important:: The functionality to convert the return value to lower case is deprecated.
5050
It will be removed in the future version, and this method will be PSR-7 equivalent.
5151

5252
You can get an

0 commit comments

Comments
 (0)