change method visibility on coupon trait

This commit is contained in:
Manuel Raynaud
2014-08-07 16:55:16 +02:00
parent d67c973460
commit 5e8cdfd6f7
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ Trait AmountCouponTrait {
/** /**
* @inheritdoc * @inheritdoc
*/ */
protected function setFieldsValue($effects) public function setFieldsValue($effects)
{ {
$this->amount = $effects[$this->getAmountFieldName()]; $this->amount = $effects[$this->getAmountFieldName()];
} }

View File

@@ -35,7 +35,7 @@ Trait PercentageCouponTrait {
/** /**
* @inheritdoc * @inheritdoc
*/ */
protected function setFieldsValue($effects) public function setFieldsValue($effects)
{ {
$this->percentage = $effects[$this->getPercentageFieldName()]; $this->percentage = $effects[$this->getPercentageFieldName()];
} }