Skip to content

Commit 14b2eae

Browse files
committed
Remove return
1 parent 5d90f89 commit 14b2eae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Database/Database.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5482,7 +5482,7 @@ public function deleteDocuments(string $collection, array $queries = [], int $ba
54825482
return [];
54835483
}
54845484

5485-
$documents = $this->withTransaction(function () use ($documents, $collection, $batchSize, $skipAuth, $authorization) {
5485+
$this->withTransaction(function () use ($documents, $collection, $batchSize, $skipAuth, $authorization) {
54865486
foreach (\array_chunk($documents, $batchSize) as $chunk) {
54875487
$getResults = fn () => $this->adapter->deleteDocuments(
54885488
$collection->getId(),
@@ -5491,8 +5491,6 @@ public function deleteDocuments(string $collection, array $queries = [], int $ba
54915491

54925492
$skipAuth ? $authorization->skip($getResults) : $getResults();
54935493
}
5494-
5495-
return $documents;
54965494
});
54975495

54985496
foreach ($documents as $document) {

0 commit comments

Comments
 (0)