File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,19 @@ Return Type Changes
7979- **Model: ** The return type of the ``objectToRawArray() `` method in the ``Model ``
8080 and ``BaseModel `` classes has been changed from ``?array `` to ``array ``.
8181
82+ Traditional Validation Rules
83+ ----------------------------
84+
85+ To add ``declare(strict_types=1) `` to the framework codebase, the method parameter
86+ type ``?string `` for a value to validate in the all Traditional Validation rule
87+ classes ``CodeIgniter\Validation\FormatRules `` and ``CodeIgniter\Validation\Rules ``
88+ are removed.
89+
90+ For example, the method signature changed as follows::
91+
92+ Before: public function integer(?string $str = null): bool
93+ After: public function integer($str = null): bool
94+
8295Others
8396------
8497
You can’t perform that action at this time.
0 commit comments