Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 28, 2023
2 parents fb30ae2 + f62e6cf commit 29d4795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/Config/Services.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public static function request(?App $config = null, bool $getShared = true)
}

// @TODO remove the following code for backward compatibility
return static::incomingrequest($config, $getShared);
return AppServices::incomingrequest($config, $getShared);
}

/**
Expand Down
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 29d4795

Please sign in to comment.