diff --git a/CHANGELOG.md b/CHANGELOG.md index 9424ca3..43c89d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/rekapager-doctrine-orm-adapter/src/Internal/QueryCounter.php b/packages/rekapager-doctrine-orm-adapter/src/Internal/QueryCounter.php index 953e2f3..0defff7 100644 --- a/packages/rekapager-doctrine-orm-adapter/src/Internal/QueryCounter.php +++ b/packages/rekapager-doctrine-orm-adapter/src/Internal/QueryCounter.php @@ -57,7 +57,7 @@ public function count(): int } } - \assert($this->count > 0); + \assert($this->count >= 0); return $this->count; }