original_string: private function getTrackerHosts($urls)
      {
          $hosts = array();
          foreach ($urls as $url) {
              $url = parse_url($url);
              if (isset($url['host'])) {
                  $hosts[] = $url['host'];
              }
          }
          return $hosts;
      }
code: private function getTrackerHosts($urls)
      {
          $hosts = array();
          foreach ($urls as $url) {
              $url = parse_url($url);
              if (isset($url['host'])) {
                  $hosts[] = $url['host'];
              }
          }
          return $hosts;
      }
code_tokens: private function getTrackerHosts ( $ urls ) { $ hosts = array ( ) ; foreach ( $ urls as $ url ) { $ url = parse_url ( $ url ) ; if ( isset ( $ url [ 'host' ] ) ) { $ hosts [ ] = $ url [ 'host' ] ; } } return $ hosts ; }
docstring: Returns the hosts alias URLs
  @param int $idSite
  @return array
docstring_tokens: Returns the hosts alias URLs