original_string: public function setUsed($price_rule_id)
      {
          $sql = 'UPDATE price_rule SET used=used + 1 WHERE price_rule_id=?';
          return (bool) $this->db->run($sql, array($price_rule_id))->rowCount();
      }
code: public function setUsed($price_rule_id)
      {
          $sql = 'UPDATE price_rule SET used=used + 1 WHERE price_rule_id=?';
          return (bool) $this->db->run($sql, array($price_rule_id))->rowCount();
      }
code_tokens: public function setUsed ( $ price_rule_id ) { $ sql = 'UPDATE price_rule SET used=used + 1 WHERE price_rule_id=?' ; return ( bool ) $ this -> db -> run ( $ sql , array ( $ price_rule_id ) ) -> rowCount ( ) ; }
docstring: Increments a number of usages by 1
  @param integer $price_rule_id
  @return boolean
docstring_tokens: Increments a number of usages by 1