Skip to content

Commit d8b2cdc

Browse files
committed
docs: change text decoration
1 parent a81c37d commit d8b2cdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/outgoing/api_responses.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ type of response to return. If no matches are found between what the client requ
104104
format in this array is what will be returned.
105105

106106
Next, you need to define the class that is used to format the array of data. This must be a fully qualified class
107-
name, and the class must implement **CodeIgniter\\Format\\FormatterInterface**. Formatters come out of the box that
107+
name, and the class must implement ``CodeIgniter\Format\FormatterInterface``. Formatters come out of the box that
108108
support both JSON and XML::
109109

110110
public $formatters = [
@@ -240,7 +240,7 @@ Class Reference
240240
:param string $message: A custom "reason" message to return.
241241
:returns: The value of the Response object's send() method.
242242

243-
Unlike ``failUnauthorized``, this method should be used when the requested API endpoint is never allowed.
243+
Unlike ``failUnauthorized()``, this method should be used when the requested API endpoint is never allowed.
244244
Unauthorized implies the client is encouraged to try again with different credentials. Forbidden means
245245
the client should not try again because it won't help. Status code is 403.
246246

0 commit comments

Comments
 (0)