@@ -104,7 +104,7 @@ type of response to return. If no matches are found between what the client requ
104104format in this array is what will be returned.
105105
106106Next, 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
108108support both JSON and XML::
109109
110110 public $formatters = [
@@ -113,7 +113,7 @@ support both JSON and XML::
113113 ];
114114
115115So, if your request asks for JSON formatted data in an **Accept ** header, the data array you pass any of the
116- ``respond* `` or ``fail* `` methods will be formatted by the ** CodeIgniter\\ API \\ JSONFormatter ** class. The resulting
116+ ``respond* `` or ``fail* `` methods will be formatted by the `` CodeIgniter\Format\ JSONFormatter `` class. The resulting
117117JSON data will be sent back to the client.
118118
119119Class Reference
@@ -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