Skip to content

Commit 2190b1f

Browse files
committed
remove array_filter
1 parent 32c6aae commit 2190b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Query/Builder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ public function insert(array $values, $ignore = false)
582582
}
583583

584584
$payload = array_reduce($values, function ($values, $value) {
585-
return array_merge($values, array_values(array_filter($value)));
585+
return array_merge($values, array_values($value));
586586
}, []);
587587

588588
$query = $this->grammar->compileInsert($this, $values, $ignore);

0 commit comments

Comments
 (0)