Skip to content

Commit 2ef57ab

Browse files
committed
docs: decorate text
1 parent 3dfd4bc commit 2ef57ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/helpers/url_helper.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following functions are available:
2121
.. php:function:: site_url([$uri = ''[, $protocol = null[, $altConfig = null]]])
2222
2323
:param array|string $uri: URI string or array of URI segments.
24-
:param string $protocol: Protocol, e.g., 'http' or 'https'. If empty string '' is set, a protocol-relative link is returned.
24+
:param string $protocol: Protocol, e.g., ``'http'`` or ``'https'``. If empty string ``''`` is set, a protocol-relative link is returned.
2525
:param \\Config\\App $altConfig: Alternate configuration to use.
2626
:returns: Site URL
2727
:rtype: string
@@ -57,7 +57,7 @@ The following functions are available:
5757
.. php:function:: base_url([$uri = ''[, $protocol = null]])
5858
5959
:param array|string $uri: URI string or array of URI segments.
60-
:param string $protocol: Protocol, e.g., 'http' or 'https'. If empty string '' is set, a protocol-relative link is returned.
60+
:param string $protocol: Protocol, e.g., ``'http'`` or ``'https'``. If empty string ``''`` is set, a protocol-relative link is returned.
6161
:returns: Base URL
6262
:rtype: string
6363

@@ -292,7 +292,7 @@ The following functions are available:
292292
.. php:function:: auto_link($str[, $type = 'both'[, $popup = false]])
293293
294294
:param string $str: Input string
295-
:param string $type: Link type ('email', 'url' or 'both')
295+
:param string $type: Link type (``'email'``, ``'url'`` or ``'both'``)
296296
:param bool $popup: Whether to create popup links
297297
:returns: Linkified string
298298
:rtype: string

0 commit comments

Comments
 (0)