original_string: public function setAmount($amount)
      {
          if (!is_int($amount)) {
              throw new InvalidArgumentException("Integer expected. Amount is always in cents");
          }
          if ($amount <= 0) {
              throw new InvalidArgumentException("Amount must be a positive number");
          }
          $this->parameters['amount'] = $amount;
      }
code: public function setAmount($amount)
      {
          if (!is_int($amount)) {
              throw new InvalidArgumentException("Integer expected. Amount is always in cents");
          }
          if ($amount <= 0) {
              throw new InvalidArgumentException("Amount must be a positive number");
          }
          $this->parameters['amount'] = $amount;
      }
code_tokens: public function setAmount ( $ amount ) { if ( ! is_int ( $ amount ) ) { throw new InvalidArgumentException ( "Integer expected. Amount is always in cents" ) ; } if ( $ amount <= 0 ) { throw new InvalidArgumentException ( "Amount must be a positive number" ) ; } $ this -> parameters [ 'amount' ] = $ amount ; }
docstring: Set amount in cents, eg EUR 12.34 is written as 1234
docstring_tokens: Set amount in cents eg EUR 12 . 34 is written as 1234