Skip to content

Commit a0cad53

Browse files
committed
docs: categorize "Method Signature Changes"
1 parent ab07781 commit a0cad53

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

user_guide_src/source/changelogs/v4.3.0.rst

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ Validation
9393

9494
The return value of ``Validation::loadRuleGroup()`` has been changed ``null`` to ``[]`` when the ``$group`` is empty.
9595

96-
Others
97-
------
96+
Database
97+
--------
9898

9999
- The return types of ``CodeIgniter\Database\BasePreparedQuery::close()`` and ``CodeIgniter\Database\PreparedQueryInterface`` have been changed to ``bool`` (previously untyped).
100100
- The return type of ``CodeIgniter\Database\Database::loadForge()`` has been changed to ``Forge``.
@@ -105,10 +105,10 @@ Others
105105
- ``BaseBuilder::_updateBatch()``
106106
- The second parameter ``$values`` has changed to ``$keys``.
107107
- The third parameter ``$index`` has changed to ``$values``. The parameter type also has changed to ``array``.
108-
- The return type of ``API\ResponseTrait::failServerError()`` has been changed to ``ResponseInterface``.
109-
- The following methods have been changed to accept ``ResponseInterface`` as a parameter instead of ``Response``.
110-
- ``Debug\Exceptions::__construct()``
111-
- ``Services::exceptions()``
108+
109+
Database Forge
110+
--------------
111+
112112
- The method signature of ``Forge::dropKey()`` has changed. An additional optional parameter ``$prefixKeyName`` has been added.
113113
- The method signature of ``Forge::addKey()`` has changed. An additional optional parameter ``$keyName`` has been added.
114114
- The method signature of ``Forge::addPrimaryKey()`` has changed. An additional optional parameter ``$keyName`` has been added.
@@ -119,6 +119,14 @@ Others
119119
- ``CodeIgniter\Database\Forge::_processIndexes()``
120120
- ``CodeIgniter\Database\Forge::_processForeignKeys()``
121121

122+
Others
123+
------
124+
125+
- The return type of ``API\ResponseTrait::failServerError()`` has been changed to ``ResponseInterface``.
126+
- The following methods have been changed to accept ``ResponseInterface`` as a parameter instead of ``Response``.
127+
- ``Debug\Exceptions::__construct()``
128+
- ``Services::exceptions()``
129+
122130
Enhancements
123131
************
124132

0 commit comments

Comments
 (0)