Skip to content

Commit 07422f5

Browse files
committed
PHPstan fix
1 parent 8df5a7c commit 07422f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ protected function _processInsert(array $values, bool $returnData, bool $saveWit
16781678
}
16791679
$this->applyBeforeQueryCallbacks();
16801680

1681-
$insertChunkSize = $this->getConnection()->getInsertChunkSize() ?? 1000;
1681+
$insertChunkSize = $this->getConnection()->getInsertChunkSize();
16821682

16831683
collect($values)->chunk($insertChunkSize)->each(callback: function ($chunk) use (&$response, $returnData) {
16841684
$result = $this->connection->insertBulk($chunk->toArray(), $returnData, $this->refresh);

0 commit comments

Comments
 (0)