change method visibility on coupon trait
This commit is contained in:
@@ -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()];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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()];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user