}
$entryRepository = $this->getContainer()->get('wallabag_core.entry_repository');
- $entryIds = $entryRepository->getAllEntriesId($userId);
+ $entryIds = $entryRepository->findAllEntriesIdByUserId($userId);
- $nbEntries = count($entryIds);
+ $nbEntries = \count($entryIds);
if (!$nbEntries) {
$io->success('No entry to reload.');