original_string: public function setSignatureMethod($method)
      {
          $method = strtoupper($method);
          
          switch ($method) {
              case 'PLAINTEXT':
              case 'HMAC-SHA1':
                  $this->sigMethod = $method;
                  break;
              default:
                  throw new \Dropbox\Exception('Unsupported signature method ' . $method);
          }
      }
code: public function setSignatureMethod($method)
      {
          $method = strtoupper($method);
          
          switch ($method) {
              case 'PLAINTEXT':
              case 'HMAC-SHA1':
                  $this->sigMethod = $method;
                  break;
              default:
                  throw new \Dropbox\Exception('Unsupported signature method ' . $method);
          }
      }
code_tokens: public function setSignatureMethod ( $ method ) { $ method = strtoupper ( $ method ) ; switch ( $ method ) { case 'PLAINTEXT' : case 'HMAC-SHA1' : $ this -> sigMethod = $ method ; break ; default : throw new \ Dropbox \ Exception ( 'Unsupported signature method ' . $ method ) ; } }
docstring: Set the OAuth signature method
  @param string $method Either PLAINTEXT or HMAC-SHA1
  @return void
docstring_tokens: Set the OAuth signature method