original_string: public function getDnsName(): string
      {
          $host = $this->environment["HTTP_HOST"] ?? "";
          $port = strpos($host, ":");
          if ($port !== false) {
              return substr($host, 0, $port);
          }
          return $host;
      }
code: public function getDnsName(): string
      {
          $host = $this->environment["HTTP_HOST"] ?? "";
          $port = strpos($host, ":");
          if ($port !== false) {
              return substr($host, 0, $port);
          }
          return $host;
      }
code_tokens: public function getDnsName ( ) : string { $ host = $ this -> environment [ "HTTP_HOST" ] ?? "" ; $ port = strpos ( $ host , ":" ) ; if ( $ port !== false ) { return substr ( $ host , 0 , $ port ) ; } return $ host ; }
docstring: Retrieve the name of the request host
  
  @return string
docstring_tokens: Retrieve the name of the request host