original_string: protected function getStatusHeader($protocolVersion, $statusCode, $reasonPhrase)
      {
          if (empty($reasonPhrase)) {
              $reasonPhrase = (new ResponseStatus($statusCode))->getReasonPhrase();
          }
          
          return "HTTP/{$protocolVersion} {$statusCode} {$reasonPhrase}";
      }
code: protected function getStatusHeader($protocolVersion, $statusCode, $reasonPhrase)
      {
          if (empty($reasonPhrase)) {
              $reasonPhrase = (new ResponseStatus($statusCode))->getReasonPhrase();
          }
          
          return "HTTP/{$protocolVersion} {$statusCode} {$reasonPhrase}";
      }
code_tokens: protected function getStatusHeader ( $ protocolVersion , $ statusCode , $ reasonPhrase ) { if ( empty ( $ reasonPhrase ) ) { $ reasonPhrase = ( new ResponseStatus ( $ statusCode ) ) -> getReasonPhrase ( ) ; } return "HTTP/{$protocolVersion} {$statusCode} {$reasonPhrase}" ; }
docstring: Get the response header for a status code
  
  @param string $protocolVersion
  @param int    $statusCode
  @param string $reasonPhrase
  @return string
docstring_tokens: Get the response header for a status code