Skip to content

Commit 6cd704d

Browse files
committed
docs: fix doc comment
1 parent c5286d1 commit 6cd704d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/BaseModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,8 +1225,8 @@ public function protect(bool $protect = true)
12251225
* Ensures that only the fields that are allowed to be updated
12261226
* are in the data array.
12271227
*
1228-
* Used by insert() and update() to protect against mass assignment
1229-
* vulnerabilities.
1228+
* Used by insert(), insertBatch(), update(), and updateBatch() to protect
1229+
* against mass assignment vulnerabilities.
12301230
*
12311231
* @param array $data Data
12321232
*

0 commit comments

Comments
 (0)