Skip to content

Commit 983b0da

Browse files
committed
docs: decorate text
1 parent e682451 commit 983b0da

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/incoming/request.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Class Reference
2424
.. php:method:: getIPAddress()
2525
2626
:returns: The user's IP Address, if it can be detected. If the IP address
27-
is not a valid IP address, then will return 0.0.0.0.
27+
is not a valid IP address, then will return ``0.0.0.0``.
2828
:rtype: string
2929

3030
Returns the IP address for the current user. If the IP address is not valid, the method
31-
will return '0.0.0.0':
31+
will return ``0.0.0.0``:
3232

3333
.. literalinclude:: request/001.php
3434

@@ -43,7 +43,7 @@ Class Reference
4343
.. important:: This method is deprecated. It will be removed in future releases.
4444

4545
:param string $ip: IP address
46-
:param string $which: IP protocol ('ipv4' or 'ipv6')
46+
:param string $which: IP protocol (``ipv4`` or ``ipv6``)
4747
:returns: true if the address is valid, false if not
4848
:rtype: bool
4949

@@ -54,7 +54,7 @@ Class Reference
5454

5555
.. literalinclude:: request/002.php
5656

57-
Accepts an optional second string parameter of 'ipv4' or 'ipv6' to specify
57+
Accepts an optional second string parameter of ``ipv4`` or ``ipv6`` to specify
5858
an IP format. The default checks for both formats.
5959

6060
.. php:method:: getMethod([$upper = false])

0 commit comments

Comments
 (0)