Skip to content

Commit d971f33

Browse files
committed
Rename chunkArray to chunkRows in docs.
1 parent e5e63a3 commit d971f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

user_guide_src/source/changelogs/v4.8.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Others
7171
Model
7272
=====
7373

74-
- Added new ``chunkArray()`` method to ``CodeIgniter\Model`` for processing large datasets in smaller chunks.
74+
- Added new ``chunkRows()`` method to ``CodeIgniter\Model`` for processing large datasets in smaller chunks.
7575

7676
Libraries
7777
=========
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
$userModel->chunkArray(100, static function ($rows) {
3+
$userModel->chunkRows(100, static function ($rows) {
44
// do something.
55
// $rows is an array of rows representing chunk of 100 items.
66
});

0 commit comments

Comments
 (0)