Skip to content

Commit a9b8371

Browse files
committed
cs-fix
1 parent 9d02d4e commit a9b8371

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/BaseModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ abstract public function chunk(int $size, Closure $userFunc);
592592
* This method calls the `$userFunc` with the chunk, instead of a single record as in `chunk()`.
593593
* This allows you to operate on multiple records at once, which can be more efficient for certain operations.
594594
*
595-
* @param Closure(array<array<string, string>>|array<object>): mixed $userFunc
595+
* @param Closure(list<array<string, string>>|list<object>): mixed $userFunc
596596
*
597597
* @return void
598598
*

tests/system/Models/MiscellaneousModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testChunk(): void
4141

4242
public function testChunkArray(): void
4343
{
44-
$chunkCount = 0;
44+
$chunkCount = 0;
4545
$numRowsInChunk = [];
4646

4747
$this->createModel(UserModel::class)->chunkArray(2, static function ($rows) use (&$chunkCount, &$numRowsInChunk): void {

0 commit comments

Comments
 (0)