]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php
php-cs-fixer
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Command / ReloadEntryCommand.php
index 8388722456af23300a933d79b2490fbeda6a6e2a..10918872f9cc0ed5480bccb9a8eb0a337a0162fe 100644 (file)
@@ -41,9 +41,9 @@ class ReloadEntryCommand extends ContainerAwareCommand
         }
 
         $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.');