Skip to content

Commit 0c749e9

Browse files
committed
docs: decorate superglobals
1 parent 8de4fa4 commit 0c749e9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

user_guide_src/source/incoming/incomingrequest.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ The methods provided by the parent classes that are available are:
296296
`here <https://www.php.net/manual/en/filter.filters.php>`__.
297297
:param int $flags: Flags to apply. A list of flags can be found
298298
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
299-
:returns: $_REQUEST if no parameters supplied, otherwise the REQUEST value if found, or null if not
299+
:returns: ``$_REQUEST`` if no parameters supplied, otherwise the REQUEST value if found, or null if not
300300
:rtype: mixed|null
301301

302302
The first parameter will contain the name of the REQUEST item you are looking for:
@@ -335,7 +335,7 @@ The methods provided by the parent classes that are available are:
335335
found `here <https://www.php.net/manual/en/filter.filters.php>`__.
336336
:param int $flags: Flags to apply. A list of flags can be found
337337
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
338-
:returns: $_GET if no parameters supplied, otherwise the GET value if found, or null if not
338+
:returns: ``$_GET`` if no parameters supplied, otherwise the GET value if found, or null if not
339339
:rtype: mixed|null
340340

341341
This method is identical to ``getVar()``, only it fetches GET data.
@@ -347,7 +347,7 @@ The methods provided by the parent classes that are available are:
347347
found `here <https://www.php.net/manual/en/filter.filters.php>`__.
348348
:param int $flags: Flags to apply. A list of flags can be found
349349
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
350-
:returns: $_POST if no parameters supplied, otherwise the POST value if found, or null if not
350+
:returns: ``$_POST`` if no parameters supplied, otherwise the POST value if found, or null if not
351351
:rtype: mixed|null
352352

353353
This method is identical to ``getVar()``, only it fetches POST data.
@@ -359,7 +359,7 @@ The methods provided by the parent classes that are available are:
359359
found `here <https://www.php.net/manual/en/filter.filters.php>`__.
360360
:param int $flags: Flags to apply. A list of flags can be found
361361
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
362-
:returns: $_POST and $_GET combined if no parameters specified (prefer POST value on conflict),
362+
:returns: ``$_POST`` and ``$_GET`` combined if no parameters specified (prefer POST value on conflict),
363363
otherwise looks for POST value, if nothing found looks for GET value, if no value found returns null
364364
:rtype: mixed|null
365365

@@ -379,7 +379,7 @@ The methods provided by the parent classes that are available are:
379379
found `here <https://www.php.net/manual/en/filter.filters.php>`__.
380380
:param int $flags: Flags to apply. A list of flags can be found
381381
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
382-
:returns: $_GET and $_POST combined if no parameters specified (prefer GET value on conflict),
382+
:returns: ``$_GET`` and ``$_POST`` combined if no parameters specified (prefer GET value on conflict),
383383
otherwise looks for GET value, if nothing found looks for POST value, if no value found returns null
384384
:rtype: mixed|null
385385

@@ -400,7 +400,7 @@ The methods provided by the parent classes that are available are:
400400
found `here <https://www.php.net/manual/en/filter.filters.php>`__.
401401
:param int $flags: Flags to apply. A list of flags can be found
402402
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
403-
:returns: $_COOKIE if no parameters supplied, otherwise the COOKIE value if found or null if not
403+
:returns: ``$_COOKIE`` if no parameters supplied, otherwise the COOKIE value if found or null if not
404404
:rtype: mixed
405405

406406
This method is identical to ``getPost()`` and ``getGet()``, only it fetches cookie data:
@@ -423,7 +423,7 @@ The methods provided by the parent classes that are available are:
423423
found `here <https://www.php.net/manual/en/filter.filters.php>`__.
424424
:param int $flags: Flags to apply. A list of flags can be found
425425
`here <https://www.php.net/manual/en/filter.filters.flags.php>`__.
426-
:returns: $_SERVER item value if found, null if not
426+
:returns: ``$_SERVER`` item value if found, null if not
427427
:rtype: mixed
428428

429429
This method is identical to the ``getPost()``, ``getGet()`` and ``getCookie()``

0 commit comments

Comments
 (0)