Skip to content

Commit 2868f5c

Browse files
committed
docs: add method signature change
1 parent eccbae4 commit 2868f5c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

user_guide_src/source/changelogs/v4.4.0.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Interface Changes
4040

4141
- **Validation:** Added the ``getValidated()`` method in ``ValidationInterface``.
4242

43+
.. _v440-method-signature-changes:
44+
4345
Method Signature Changes
4446
========================
4547

@@ -52,6 +54,8 @@ Method Signature Changes
5254
- **Session:** The first parameter of ``__construct()`` in ``BaseHandler``,
5355
``DatabaseHandler``, ``FileHandler``, ``MemcachedHandler``, and ``RedisHandler``
5456
has been changed from ``Config\App`` to ``Config\Session``.
57+
- **Security:** The first parameter of ``Security::__construct()`` has been
58+
changed from ``Config\App`` to ``Config\Security``.
5559

5660
Enhancements
5761
************

user_guide_src/source/installation/upgrade_440.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ performance.
7575
If you extend ``RouteCollection`` and use the ``$routes``, update your code to
7676
match the new array structure.
7777

78+
Method Signature Changes
79+
========================
80+
81+
Some method signature changes have been made. Classes that extend them should
82+
update their APIs to reflect the changes. See :ref:`v440-method-signature-changes`
83+
for details.
84+
7885
Mandatory File Changes
7986
**********************
8087

0 commit comments

Comments
 (0)