original_string: protected function getAcceptContentType($method)
      {
          // Just to make PHPMD happy.
          $method = null;
          $acceptFile = $this->getArgument("accept_file");
          if (!is_null($acceptFile)) {
              return "text/csv";
          }
          $acceptAnyFile = $this->getArgument("accept_any_file");
          if (!is_null($acceptAnyFile)) {
              return "*/*";
          }
          $acceptSoundFile = $this->getArgument("accept_sound_file");
          if (!is_null($acceptSoundFile)) {
              return "audio/mpeg";
          }
          return 'application/json';
      }
code: protected function getAcceptContentType($method)
      {
          // Just to make PHPMD happy.
          $method = null;
          $acceptFile = $this->getArgument("accept_file");
          if (!is_null($acceptFile)) {
              return "text/csv";
          }
          $acceptAnyFile = $this->getArgument("accept_any_file");
          if (!is_null($acceptAnyFile)) {
              return "*/*";
          }
          $acceptSoundFile = $this->getArgument("accept_sound_file");
          if (!is_null($acceptSoundFile)) {
              return "audio/mpeg";
          }
          return 'application/json';
      }
code_tokens: protected function getAcceptContentType ( $ method ) { // Just to make PHPMD happy. $ method = null ; $ acceptFile = $ this -> getArgument ( "accept_file" ) ; if ( ! is_null ( $ acceptFile ) ) { return "text/csv" ; } $ acceptAnyFile = $ this -> getArgument ( "accept_any_file" ) ; if ( ! is_null ( $ acceptAnyFile ) ) { return "*/*" ; } $ acceptSoundFile = $ this -> getArgument ( "accept_sound_file" ) ; if ( ! is_null ( $ acceptSoundFile ) ) { return "audio/mpeg" ; } return 'application/json' ; }
docstring: Returns the accepted content type for this endpoint.
  
  @param string $method Method for this command.
  
  @return string
docstring_tokens: Returns the accepted content type for this endpoint .