Skip to content

Commit 2b680e2

Browse files
committed
cursor validation
1 parent 225ff89 commit 2b680e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Database/Validator/Query/Cursor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public function isValid($value): bool
2929
if ($method === Query::TYPE_CURSOR_AFTER || $method === Query::TYPE_CURSOR_BEFORE) {
3030
$cursor = $value->getValue();
3131

32-
if ($cursor instanceof Document) {
33-
$cursor = $cursor->getId();
34-
}
32+
// if ($cursor instanceof Document) {
33+
// $cursor = $cursor->getId();
34+
// }
3535

3636
$validator = new UID();
3737
if ($validator->isValid($cursor)) {

0 commit comments

Comments
 (0)