original_string: private function buildHost(UriInterface $uri): string
      {
          return $uri->getHost().($uri->getPort() !== null ? ':'.$uri->getPort() : '');
      }
code: private function buildHost(UriInterface $uri): string
      {
          return $uri->getHost().($uri->getPort() !== null ? ':'.$uri->getPort() : '');
      }
code_tokens: private function buildHost ( UriInterface $ uri ) : string { return $ uri -> getHost ( ) . ( $ uri -> getPort ( ) !== null ? ':' . $ uri -> getPort ( ) : '' ) ; }
docstring: Returns the host header.
  
  @param UriInterface $uri
  
  @return string
docstring_tokens: Returns the host header .