From e678c4752a35b06c0a77d17fc23aa2de6abc4e18 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 17 Jan 2016 12:52:30 +0100 Subject: Use translator interface instead of final class Symfony use a different class when in dev mode and prod mode. Prod loads `Symfony\Bundle\FrameworkBundle\Translation\Translator`. Dev loads `Symfony\Component\Translation\DataCollectorTranslator` to gather information for the debug bar. Fix #1585 --- src/Wallabag/CoreBundle/Repository/EntryRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Wallabag/CoreBundle/Repository') diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 82eb9474..87e34dc9 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -255,7 +255,7 @@ class EntryRepository extends EntityRepository * * @param int $userId * - * @return integer + * @return int */ public function countAllEntriesByUsername($userId) { -- cgit v1.2.3