original_string: public function getHostWithPort()
      {
          if ($this->hasPort() && (!$this->hasDefaultPort() || !$this->isPortDefault())) {
              return $this->getHost() . ':' . $this->getPort();
          } else {
              return $this->getHost();
          }
      }
code: public function getHostWithPort()
      {
          if ($this->hasPort() && (!$this->hasDefaultPort() || !$this->isPortDefault())) {
              return $this->getHost() . ':' . $this->getPort();
          } else {
              return $this->getHost();
          }
      }
code_tokens: public function getHostWithPort ( ) { if ( $ this -> hasPort ( ) && ( ! $ this -> hasDefaultPort ( ) || ! $ this -> isPortDefault ( ) ) ) { return $ this -> getHost ( ) . ':' . $ this -> getPort ( ) ; } else { return $ this -> getHost ( ) ; } }
docstring: Host, including port unless it is the default port for the scheme.
  @return string
docstring_tokens: Host including port unless it is the default port for the scheme .