diff --git a/core/lib/Thelia/Core/Event/Tax/TaxEvent.php b/core/lib/Thelia/Core/Event/Tax/TaxEvent.php index 2c6636c06..df933e9dd 100644 --- a/core/lib/Thelia/Core/Event/Tax/TaxEvent.php +++ b/core/lib/Thelia/Core/Event/Tax/TaxEvent.php @@ -61,6 +61,8 @@ class TaxEvent extends ActionEvent public function setDescription($description) { $this->description = $description; + + return $this; } public function getDescription() @@ -71,6 +73,8 @@ class TaxEvent extends ActionEvent public function setId($id) { $this->id = $id; + + return $this; } public function getId() @@ -81,6 +85,8 @@ class TaxEvent extends ActionEvent public function setTitle($title) { $this->title = $title; + + return $this; } public function getTitle() @@ -91,6 +97,8 @@ class TaxEvent extends ActionEvent public function setLocale($locale) { $this->locale = $locale; + + return $this; } public function getLocale() @@ -101,6 +109,8 @@ class TaxEvent extends ActionEvent public function setType($type) { $this->type = $type; + + return $this; } public function getType() @@ -111,10 +121,12 @@ class TaxEvent extends ActionEvent public function setRequirements($requirements) { $this->requirements = $requirements; + + return $this; } public function getRequirements() { return $this->requirements; } -} +} \ No newline at end of file diff --git a/core/lib/Thelia/Core/Event/Tax/TaxRuleEvent.php b/core/lib/Thelia/Core/Event/Tax/TaxRuleEvent.php index 6d3f21e6e..2fb60a9d1 100644 --- a/core/lib/Thelia/Core/Event/Tax/TaxRuleEvent.php +++ b/core/lib/Thelia/Core/Event/Tax/TaxRuleEvent.php @@ -61,6 +61,8 @@ class TaxRuleEvent extends ActionEvent public function setDescription($description) { $this->description = $description; + + return $this; } public function getDescription() @@ -71,6 +73,8 @@ class TaxRuleEvent extends ActionEvent public function setId($id) { $this->id = $id; + + return $this; } public function getId() @@ -81,6 +85,8 @@ class TaxRuleEvent extends ActionEvent public function setTitle($title) { $this->title = $title; + + return $this; } public function getTitle() @@ -91,6 +97,8 @@ class TaxRuleEvent extends ActionEvent public function setLocale($locale) { $this->locale = $locale; + + return $this; } public function getLocale() @@ -101,6 +109,8 @@ class TaxRuleEvent extends ActionEvent public function setCountryList($countryList) { $this->countryList = $countryList; + + return $this; } public function getCountryList() @@ -111,11 +121,12 @@ class TaxRuleEvent extends ActionEvent public function setTaxList($taxList) { $this->taxList = $taxList; + + return $this; } public function getTaxList() { return $this->taxList; } - -} +} \ No newline at end of file