Skip to content

Commit

Permalink
Merge pull request #7975 from kenjis/fix-response.rst-method-names
Browse files Browse the repository at this point in the history
docs: add `()` after method names
  • Loading branch information
kenjis authored Sep 28, 2023
2 parents e1c2f5d + f4620bd commit b949a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/outgoing/response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ as the second parameter of the ``setStatusCode()`` method:
.. literalinclude:: response/002.php

You can set format an array into either JSON or XML and set the content type header to the appropriate mime with the
``setJSON`` and ``setXML`` methods. Typically, you will send an array of data to be converted:
``setJSON()`` and ``setXML()`` methods. Typically, you will send an array of data to be converted:

.. literalinclude:: response/003.php

Expand Down

0 comments on commit b949a2e

Please sign in to comment.