diff --git a/CHANGELOG.md b/CHANGELOG.md index 998b88e..b7740fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # v4.3.0 +### Bugfix + +- [#11](https://github.com/pedro-teixeira/correios/pull/11) Assinatura do método isZipCodeRequired() foi alterada + ### Feature - [#1](https://github.com/pedro-teixeira/correios/pull/1) Revisão do code style diff --git a/app/code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php b/app/code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php index f6628dc..4a08a6f 100644 --- a/app/code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php +++ b/app/code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php @@ -644,9 +644,11 @@ public function getAllowedMethods() /** * Define ZIP Code as required * + * @param string $countryId + * * @return bool */ - public function isZipCodeRequired() + public function isZipCodeRequired($countryId = null) { return true; }