Merge pull request #5886 from kenjis/fix-docs-api_responses.rst

docs: fix heading level in api_responses.rst
This commit is contained in:
kenjis 2022-04-11 07:46:19 +09:00 committed by GitHub
commit adcfa13919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,10 @@ So, if your request asks for JSON formatted data in an **Accept** header, the da
``respond*`` or ``fail*`` methods will be formatted by the ``CodeIgniter\Format\JSONFormatter`` class. The resulting
JSON data will be sent back to the client.
***************
Class Reference
***************
.. php:method:: setResponseFormat($format)
:param string $format: The type of response to return, either ``json`` or ``xml``