original_string: public function findDistinctByRootId($rootId)
      {
          $qb = $this->createQueryBuilder('l')
              ->andWhere('l.rootId = :rootId')
              ->groupBy('l.rootVersion')
              ->setParameter('rootId', $rootId);
  
          return $qb->getQuery()->getResult();
      }
code: public function findDistinctByRootId($rootId)
      {
          $qb = $this->createQueryBuilder('l')
              ->andWhere('l.rootId = :rootId')
              ->groupBy('l.rootVersion')
              ->setParameter('rootId', $rootId);
  
          return $qb->getQuery()->getResult();
      }
code_tokens: public function findDistinctByRootId ( $ rootId ) { $ qb = $ this -> createQueryBuilder ( 'l' ) -> andWhere ( 'l.rootId = :rootId' ) -> groupBy ( 'l.rootVersion' ) -> setParameter ( 'rootId' , $ rootId ) ; return $ qb -> getQuery ( ) -> getResult ( ) ; }
docstring: Returns a list of BlockLogEntries distinct by rootId
  
  @param integer $rootId
  
  @return ArrayCollection
docstring_tokens: Returns a list of BlockLogEntries distinct by rootId