original_string: protected function getContentType($method)
      {
          // Just to make PHPMD happy.
          $method = null;
          $file = $this->getArgument("file");
          if (!is_null($file)) {
              return "text/csv";
          }
          $soundFile = $this->getArgument("sound_file");
          if (!is_null($soundFile)) {
              return "audio/mpeg";
          }
          return 'application/json';
      }
code: protected function getContentType($method)
      {
          // Just to make PHPMD happy.
          $method = null;
          $file = $this->getArgument("file");
          if (!is_null($file)) {
              return "text/csv";
          }
          $soundFile = $this->getArgument("sound_file");
          if (!is_null($soundFile)) {
              return "audio/mpeg";
          }
          return 'application/json';
      }
code_tokens: protected function getContentType ( $ method ) { // Just to make PHPMD happy. $ method = null ; $ file = $ this -> getArgument ( "file" ) ; if ( ! is_null ( $ file ) ) { return "text/csv" ; } $ soundFile = $ this -> getArgument ( "sound_file" ) ; if ( ! is_null ( $ soundFile ) ) { return "audio/mpeg" ; } return 'application/json' ; }
docstring: Returns the content type for this endpoint.
  
  @param string $method Method for this command.
  
  @return string
docstring_tokens: Returns the content type for this endpoint .