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:
parent
3bcc4d4cb2
commit
e678c4752a
3 changed files with 14 additions and 17 deletions
|
@ -255,7 +255,7 @@ class EntryRepository extends EntityRepository
|
|||
*
|
||||
* @param int $userId
|
||||
*
|
||||
* @return integer
|
||||
* @return int
|
||||
*/
|
||||
public function countAllEntriesByUsername($userId)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue