1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

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
This commit is contained in:
Jeremy Benoist 2016-01-17 12:52:30 +01:00
parent 3bcc4d4cb2
commit e678c4752a
3 changed files with 14 additions and 17 deletions

View file

@ -255,7 +255,7 @@ class EntryRepository extends EntityRepository
*
* @param int $userId
*
* @return integer
* @return int
*/
public function countAllEntriesByUsername($userId)
{