Skip to content

Commit f756205

Browse files
Update src/Database/Database.php
1 parent 0fe5566 commit f756205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ public function find(string $collection, array $queries = [], int $limit = 25, i
10041004
$collection = $this->getCollection($collection);
10051005

10061006
if (!empty($cursor) && $cursor->getCollection() !== $collection->getId()) {
1007-
throw new Exception("orderAfter Document must be from the same Collection.");
1007+
throw new Exception("cursor Document must be from the same Collection.");
10081008
}
10091009

10101010
$cursor = empty($cursor) ? [] : $cursor->getArrayCopy();

0 commit comments

Comments
 (0)