We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5add0 commit 09e131bCopy full SHA for 09e131b
1 file changed
src/QueryObjectDataSource.php
@@ -84,7 +84,7 @@ public function setLimitCallback($callback) {
84
}
85
86
protected function getResultSet(int $page = 1, ?int $itemsPerPage = null) {
87
- if (!$this->resultSet) {
+ if ($this->resultSet === null) {
88
$this->resultSet = $itemsPerPage
89
? iterator_to_array($this->queryObject->getResultSet($page, $itemsPerPage)->getIterator())
90
: $this->queryObject->getQuery()->getResult();
0 commit comments