lib/Persistence/Doctrine/QueryHandler/QueryHandler.php
public function applyOffsetAndLimit(QueryBuilder $query, ?int $offset, ?int $limit): void
    {
        $query->setFirstResult($offset ?? 0);

        if (is_int($limit) && $limit > 0) {
            $query->setMaxResults($limit);
        }
    }
public function applyOffsetAndLimit(QueryBuilder $query, ?int $offset, ?int $limit): void
    {
        $query->setFirstResult($offset ?? 0);

        if (is_int($limit) && $limit > 0) {
            $query->setMaxResults($limit);
        }
    }
public function applyOffsetAndLimit ( QueryBuilder $ query , ? int $ offset , ? int $ limit ) : void { $ query -> setFirstResult ( $ offset ?? 0 ) ; if ( is_int ( $ limit ) && $ limit > 0 ) { $ query -> setMaxResults ( $ limit ) ; } }
Applies offset and limit to the query.
Applies offset and limit to the query .