original_string: public function findDistinctHosts()
      {
          /** @var Query $query */
          $query = $this->entityManager->createQuery('SELECT DISTINCT r.host FROM Neos\RedirectHandler\DatabaseStorage\Domain\Model\Redirect r');
          return array_map(function ($record) {
              return $record['host'];
          }, $query->getResult());
      }
code: public function findDistinctHosts()
      {
          /** @var Query $query */
          $query = $this->entityManager->createQuery('SELECT DISTINCT r.host FROM Neos\RedirectHandler\DatabaseStorage\Domain\Model\Redirect r');
          return array_map(function ($record) {
              return $record['host'];
          }, $query->getResult());
      }
code_tokens: public function findDistinctHosts ( ) { /** @var Query $query */ $ query = $ this -> entityManager -> createQuery ( 'SELECT DISTINCT r.host FROM Neos\RedirectHandler\DatabaseStorage\Domain\Model\Redirect r' ) ; return array_map ( function ( $ record ) { return $ record [ 'host' ] ; } , $ query -> getResult ( ) ) ; }
docstring: Return a list of all hosts
  
  @return array
docstring_tokens: Return a list of all hosts