Skip to content

Commit d47eccf

Browse files
authored
Merge pull request #8815 from kenjis/docs-upgrade_responses.rst
docs: small fixes in upgrade responses.rst
2 parents 3134350 + d6f1e88 commit d47eccf

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

user_guide_src/source/installation/upgrade_4xx.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ Upgrading Libraries
254254
upgrade_images
255255
upgrade_localization
256256
upgrade_migrations
257-
upgrade_pagination
258257
upgrade_responses
258+
upgrade_pagination
259259
upgrade_routing
260260
upgrade_security
261261
upgrade_sessions

user_guide_src/source/installation/upgrade_responses.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Upgrade HTTP Responses
2-
######################
1+
Upgrade Output Class
2+
####################
33

44
.. contents::
55
:local:
@@ -12,11 +12,12 @@ Documentations
1212

1313
What has been changed
1414
=====================
15-
- The methods have been renamed
15+
- The Output class has been changed to the Response class.
16+
- The methods have been renamed.
1617

1718
Upgrade Guide
1819
=============
19-
1. The methods in the HTTP Responses class are named slightly different. The most important change in the naming is the switch from underscored method names to camelCase. The method ``set_content_type()`` from version 3 is now named ``setContentType()`` and so on.
20+
1. The methods in the HTTP Response class are named slightly different. The most important change in the naming is the switch from underscored method names to camelCase. The method ``set_content_type()`` from version 3 is now named ``setContentType()`` and so on.
2021
2. In the most cases you have to change ``$this->output`` to ``$this->response`` followed by the method. You can find all methods in :doc:`../outgoing/response`.
2122

2223
Code Example

0 commit comments

Comments
 (0)