Skip to content

Commit

Permalink
fix: assertion in QueryCounter (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi authored May 21, 2024
1 parent 001dc22 commit 9c91eec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

# 0.8.4

* fix: assertion in QueryCounter

# 0.8.3

* fix(keyset): going from 2nd last page to last page now works properly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function count(): int
}
}

\assert($this->count > 0);
\assert($this->count >= 0);

return $this->count;
}
Expand Down

0 comments on commit 9c91eec

Please sign in to comment.