From 215409a8b2ea3888fc197c8cd7beddda0a9f1403 Mon Sep 17 00:00:00 2001 From: Nicolas Hart Date: Mon, 21 Aug 2017 18:19:42 +0200 Subject: [PATCH] rename getAllEntriesId into findAllEntriesIdByUserId --- src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php | 2 +- src/Wallabag/CoreBundle/Repository/EntryRepository.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php b/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php index 83887224..91998841 100644 --- a/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php +++ b/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php @@ -41,7 +41,7 @@ class ReloadEntryCommand extends ContainerAwareCommand } $entryRepository = $this->getContainer()->get('wallabag_core.entry_repository'); - $entryIds = $entryRepository->getAllEntriesId($userId); + $entryIds = $entryRepository->findAllEntriesIdByUserId($userId); $nbEntries = count($entryIds); if (!$nbEntries) { diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 9a30cd79..febc86d3 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -369,7 +369,7 @@ class EntryRepository extends EntityRepository * * @return array */ - public function getAllEntriesId($userId = null) + public function findAllEntriesIdByUserId($userId = null) { $qb = $this->createQueryBuilder('e') ->select('e.id'); -- 2.41.0