namespace Wallabag\CoreBundle\Repository;
use Doctrine\ORM\EntityRepository;
+use Wallabag\CoreBundle\Entity\Tag;
class TagRepository extends EntityRepository
{
->getSingleResult();
}
- public function findTagsForArchivedArticles($userId)
+ public function findForArchivedArticlesByUser($userId)
{
$ids = $this->createQueryBuilder('t')
->select('t.id')