X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FCommand%2FReloadEntryCommand.php;h=10918872f9cc0ed5480bccb9a8eb0a337a0162fe;hb=refs%2Fpull%2F3716%2Fhead;hp=91998841cce246523ce672fe23d0d41a639637e0;hpb=54171dd796a6cedc076357e4eb62e6dc1ce6dd64;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php b/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php index 91998841..10918872 100644 --- a/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php +++ b/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php @@ -43,7 +43,7 @@ class ReloadEntryCommand extends ContainerAwareCommand $entryRepository = $this->getContainer()->get('wallabag_core.entry_repository'); $entryIds = $entryRepository->findAllEntriesIdByUserId($userId); - $nbEntries = count($entryIds); + $nbEntries = \count($entryIds); if (!$nbEntries) { $io->success('No entry to reload.');