Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Satisfy PHP 8.1 Countable Interface #10

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/DbSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Laminas\Paginator\Adapter\AdapterInterface;
use Laminas\Paginator\Adapter\Exception\MissingRowCountColumnException;
use Laminas\Paginator\Exception;
use ReturnTypeWillChange;

use function array_key_exists;
use function iterator_to_array;
Expand Down Expand Up @@ -105,6 +106,7 @@ public function getItems($offset, $itemCountPerPage)
* @return int
* @throws MissingRowCountColumnException
*/
#[ReturnTypeWillChange]
public function count()
{
if ($this->rowCount !== null) {
Expand Down