Skip to content

Commit 6b8e967

Browse files
authored
Fix typo in getVar() method documentation
1 parent 92100b2 commit 6b8e967

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/incoming/incomingrequest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ getVar()
161161
in new projects. Even if you are already using it, we recommend that you use
162162
another, more appropriate method.
163163

164-
The ``getVar()`` method will pull from ``$_REQUEST``, so will return any data from ``$_GET``, ``$POST``, or ``$_COOKIE`` (depending on php.ini `request-order <https://www.php.net/manual/en/ini.core.php#ini.request-order>`_).
164+
The ``getVar()`` method will pull from ``$_REQUEST``, so will return any data from ``$_GET``, ``$_POST``, or ``$_COOKIE`` (depending on php.ini `request-order <https://www.php.net/manual/en/ini.core.php#ini.request-order>`_).
165165

166166
.. warning:: If you want to validate POST data only, don't use ``getVar()``.
167167
Newer values override older values. POST values may be overridden by the

0 commit comments

Comments
 (0)