Skip to content

Commit 5095c3d

Browse files
committed
docblock
1 parent 8e7b447 commit 5095c3d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Illuminate/Database/Eloquent/Builder.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,14 @@ public function findOr($id, $columns = ['*'], ?Closure $callback = null)
588588
return $callback();
589589
}
590590

591-
public function insertWithCasts(array $values)
591+
/**
592+
* Insert a number of records, merging in default attributes,
593+
* adding timestamps, and converting casts to raw values.
594+
*
595+
* @param list<array<string, mixed>> $values
596+
* @return bool
597+
*/
598+
public function insertWithCasts($values)
592599
{
593600
if (empty($values)) {
594601
return true;

0 commit comments

Comments
 (0)