Skip to content

Commit f423b2b

Browse files
committed
docs: fix wrong method names
1 parent e08b7bb commit f423b2b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/incoming/request.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Class Reference
8080
:returns: ``$_SERVER`` item value if found, null if not
8181
:rtype: mixed
8282

83-
This method is identical to the ``post()``, ``get()`` and ``cookie()`` methods from the
83+
This method is identical to the ``getPost()``, ``getGet()`` and ``getCookie()`` methods from the
8484
:doc:`IncomingRequest Class </incoming/incomingrequest>`, only it fetches server data (``$_SERVER``):
8585

8686
.. literalinclude:: request/004.php
@@ -98,8 +98,8 @@ Class Reference
9898
:returns: ``$_ENV`` item value if found, null if not
9999
:rtype: mixed
100100

101-
This method is identical to the ``post()``, ``get()`` and ``cookie()`` methods from the
102-
:doc:`IncomingRequest Class </incoming/incomingrequest>`, only it fetches getEnv data (``$_ENV``):
101+
This method is identical to the ``getPost()``, ``getGet()`` and ``getCookie()`` methods from the
102+
:doc:`IncomingRequest Class </incoming/incomingrequest>`, only it fetches env data (``$_ENV``):
103103

104104
.. literalinclude:: request/006.php
105105

0 commit comments

Comments
 (0)