original_string: public function fixed(&$amount, array &$components, array $price_rule, array $data)
      {
          $value = $this->convertValue($price_rule, $data['currency']);
          $components[$price_rule['price_rule_id']] = array('rule' => $price_rule, 'price' => $value);
          return $amount += $value;
      }
code: public function fixed(&$amount, array &$components, array $price_rule, array $data)
      {
          $value = $this->convertValue($price_rule, $data['currency']);
          $components[$price_rule['price_rule_id']] = array('rule' => $price_rule, 'price' => $value);
          return $amount += $value;
      }
code_tokens: public function fixed ( & $ amount , array & $ components , array $ price_rule , array $ data ) { $ value = $ this -> convertValue ( $ price_rule , $ data [ 'currency' ] ) ; $ components [ $ price_rule [ 'price_rule_id' ] ] = array ( 'rule' => $ price_rule , 'price' => $ value ) ; return $ amount += $ value ; }
docstring: Adds a fixed price rule value to the original amount
  @param int $amount
  @param array $components
  @param array $price_rule
  @param array $data
  @return int
docstring_tokens: Adds a fixed price rule value to the original amount