protected function checkForMorePages(): void
    {
        $this->hasMore = \count($this->items) > $this->itemCountPerPage;

        $this->items = $this->items->slice(0, $this->itemCountPerPage);
    }