Merge pull request #576 from lunika/coupon_fix

change method visibility on coupon trait
This commit is contained in:
Manuel Raynaud
2014-08-07 21:12:37 +02:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

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