Classes/Domain/Repository/QueueRepository.php
public function findOld(): array
    {
        $queryBuilder = $this->createQuery();

        return (array)$queryBuilder->select('uid')
            ->from($this->getTableName())
            ->where($queryBuilder->expr()->gt('call_date', $queryBuilder->createNamedParameter(0)))
            ->execute()
            ->fetchAll();
    }
public function findOld(): array
    {
        $queryBuilder = $this->createQuery();

        return (array)$queryBuilder->select('uid')
            ->from($this->getTableName())
            ->where($queryBuilder->expr()->gt('call_date', $queryBuilder->createNamedParameter(0)))
            ->execute()
            ->fetchAll();
    }
public function findOld ( ) : array { $ queryBuilder = $ this -> createQuery ( ) ; return ( array ) $ queryBuilder -> select ( 'uid' ) -> from ( $ this -> getTableName ( ) ) -> where ( $ queryBuilder -> expr ( ) -> gt ( 'call_date' , $ queryBuilder -> createNamedParameter ( 0 ) ) ) -> execute ( ) -> fetchAll ( ) ; }
Find old entries.

@return array
Find old entries .