src/Pagerfanta/AuraSqlQueryAdapter.php
public function getNbResults()
    {
        $select = $this->prepareCountQueryBuilder();
        $sql = $select->getStatement();
        $sth = $this->pdo->prepare($sql);
        $sth->execute($this->select->getBindValues());
        $result = $sth->fetchColumn();

        return (int) $result;
    }
public function getNbResults()
    {
        $select = $this->prepareCountQueryBuilder();
        $sql = $select->getStatement();
        $sth = $this->pdo->prepare($sql);
        $sth->execute($this->select->getBindValues());
        $result = $sth->fetchColumn();

        return (int) $result;
    }
{@inheritdoc}