original_string: public function selectSignature($signature) {
  
          if ( !is_integer($signature) || !isset($this->signatures[$signature]) ) {
  
              throw new InvalidArgumentException("Invalid RpcMethod signature reference");
  
          }
  
          $this->current_signature = $signature;
  
          return $this;
  
      }
code: public function selectSignature($signature) {
  
          if ( !is_integer($signature) || !isset($this->signatures[$signature]) ) {
  
              throw new InvalidArgumentException("Invalid RpcMethod signature reference");
  
          }
  
          $this->current_signature = $signature;
  
          return $this;
  
      }
code_tokens: public function selectSignature ( $ signature ) { if ( ! is_integer ( $ signature ) || ! isset ( $ this -> signatures [ $ signature ] ) ) { throw new InvalidArgumentException ( "Invalid RpcMethod signature reference" ) ; } $ this -> current_signature = $ signature ; return $ this ; }
docstring: Select a signature
  
  @param integer $signature The signature's ID
  
  @return self
  @throws Exception
docstring_tokens: Select a signature