}
/**
- * Find all annotations related to archived entries
+ * Find all annotations related to archived entries.
*
* @param $userId
+ *
* @return mixed
*/
- public function findAllByArchivedEntriesAndUserId($userId)
+ public function findAllArchivedEntriesByUser($userId)
{
return $this->createQueryBuilder('a')
->leftJoin('a.entry', 'e')