Skip to content

Commit c02dd44

Browse files
authored
Merge pull request #6800 from paulbalandan/typo-4.3
Fix grammatical errors in 4.3.0.rst
2 parents 24d4944 + 1a51228 commit c02dd44

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

user_guide_src/source/changelogs/v4.3.0.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ ValidationInterface
109109
Validation
110110
^^^^^^^^^^
111111

112-
The return value of ``Validation::loadRuleGroup()`` has been changed ``null`` to ``[]`` when the ``$group`` is empty.
112+
The return value of ``Validation::loadRuleGroup()`` has been changed from ``null`` to ``[]`` when the ``$group`` is empty.
113113

114114
Database
115115
--------
116116

117117
- The return types of ``CodeIgniter\Database\BasePreparedQuery::close()`` and ``CodeIgniter\Database\PreparedQueryInterface`` have been changed to ``bool`` (previously untyped).
118118
- The return type of ``CodeIgniter\Database\Database::loadForge()`` has been changed to ``Forge``.
119119
- The return type of ``CodeIgniter\Database\Database::loadUtils()`` has been changed to ``BaseUtils``.
120-
- Parameter ``$column`` has changed in ``Table::dropForeignKey()`` to ``$foreignName``.
120+
- Parameter name ``$column`` has changed in ``Table::dropForeignKey()`` to ``$foreignName``.
121121
- The second parameter ``$index`` of ``BaseBuilder::updateBatch()`` has changed to ``$constraints``. It now accepts types array, string, or ``RawSql``. Extending classes should likewise change types.
122122
- The ``$set`` parameter of ``BaseBuilder::insertBatch()`` and ``BaseBuilder::updateBatch()`` now accepts an object of a single row of data.
123123
- ``BaseBuilder::_updateBatch()``
@@ -185,7 +185,7 @@ Forge
185185
- Added the ability to manually set index names. These methods include: ``Forge::addKey()``, ``Forge::addPrimaryKey()``, and ``Forge::addUniqueKey()``
186186
- The new method ``Forge::dropPrimaryKey()`` allows dropping the primary key on a table. See :ref:`dropping-a-primary-key`.
187187
- Fixed ``Forge::dropKey()`` to allow dropping unique indexes. This required the ``DROP CONSTRAINT`` SQL command.
188-
- :php:meth:`CodeIgniter\\Database\\Forge::addForeignKey()` now includes a name parameter to manual set foreign key names. Not supported in SQLite3.
188+
- :php:meth:`CodeIgniter\\Database\\Forge::addForeignKey()` now includes a name parameter to set foreign key names manually. This is not supported in SQLite3.
189189
- SQLSRV now automatically drops ``DEFAULT`` constraint when using :ref:`Forge::dropColumn() <db-forge-dropColumn>`.
190190

191191
Others
@@ -218,7 +218,7 @@ Helpers and Functions
218218
- Added new Form helper function :php:func:`validation_errors()`, :php:func:`validation_list_errors()` and :php:func:`validation_show_error()` to display Validation Errors.
219219
- You can set the locale to :php:func:`route_to()` if you pass a locale value as the last parameter.
220220
- Added :php:func:`request()` and :php:func:`response()` functions.
221-
- Add :php:func:`decamelize()` function to convert camelCase to snake_case.
221+
- Added :php:func:`decamelize()` function to convert camelCase to snake_case.
222222

223223
Error Handling
224224
==============
@@ -232,9 +232,9 @@ Others
232232
======
233233

234234
- Added ``$routes->useSupportedLocalesOnly(true)`` so that the Router returns 404 Not Found if the locale in the URL is not supported in ``Config\App::$supportedLocales``. See :ref:`Localization <localization-in-routes>`
235-
- Added new ``$routes->view()`` method to return a the view directly. See :ref:`View Routes <view-routes>`.
236-
- View Cells are now first-class citizens and can located in the **app/Cells** directory. See :ref:`View Cells <app-cells>`.
237-
- Add ``Controlled Cells`` that provide more structure and flexibility to your View Cells. See :ref:`View Cells <controlled-cells>` for details.
235+
- Added new ``$routes->view()`` method to return the view directly. See :ref:`View Routes <view-routes>`.
236+
- View Cells are now first-class citizens and can be located in the **app/Cells** directory. See :ref:`View Cells <app-cells>`.
237+
- Added ``Controlled Cells`` that provide more structure and flexibility to your View Cells. See :ref:`View Cells <controlled-cells>` for details.
238238
- Now you can specify Composer packages to auto-discover manually. See :ref:`Code Modules <modules-specify-composer-packages>`.
239239

240240
Message Changes

0 commit comments

Comments
 (0)