We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f9dfd commit 9f20fd5Copy full SHA for 9f20fd5
1 file changed
src/Database/Database.php
@@ -5796,14 +5796,12 @@ public function deleteDocuments(
5796
* @var array<Document> $batch
5797
*/
5798
5799
- $batch = $this->silent(fn () =>
5800
-
5801
- $this->withCursor($last, fn () =>
5802
- $this->find(
5803
- $collection->getId(),
5804
- array_merge($new, $queries),
5805
- forPermission: Database::PERMISSION_DELETE
5806
- )));
+ $batch = $this->silent(fn () => $this->withCursor($last,
+ fn () => $this->find(
+ $collection->getId(), array_merge($new, $queries),
+ forPermission: Database::PERMISSION_DELETE
+ )
+ ));
5807
5808
if (empty($batch)) {
5809
break;
0 commit comments