Skip to content

Commit eb564c3

Browse files
committed
Add ignore param to Mirror::createDocuments to match parent signature
1 parent 36b048f commit eb564c3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Database/Mirror.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,15 @@ public function createDocuments(
600600
int $batchSize = self::INSERT_BATCH_SIZE,
601601
?callable $onNext = null,
602602
?callable $onError = null,
603+
bool $ignore = false,
603604
): int {
604605
$modified = $this->source->createDocuments(
605606
$collection,
606607
$documents,
607608
$batchSize,
608609
$onNext,
609610
$onError,
611+
$ignore,
610612
);
611613

612614
if (
@@ -645,6 +647,7 @@ public function createDocuments(
645647
$collection,
646648
$clones,
647649
$batchSize,
650+
ignore: $ignore,
648651
)
649652
);
650653

0 commit comments

Comments
 (0)