Merge pull request #576 from lunika/coupon_fix
change method visibility on coupon trait
This commit is contained in:
@@ -37,7 +37,7 @@ Trait AmountCouponTrait {
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function setFieldsValue($effects)
|
||||
public function setFieldsValue($effects)
|
||||
{
|
||||
$this->amount = $effects[$this->getAmountFieldName()];
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ Trait PercentageCouponTrait {
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
protected function setFieldsValue($effects)
|
||||
public function setFieldsValue($effects)
|
||||
{
|
||||
$this->percentage = $effects[$this->getPercentageFieldName()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user