From 5a58c0905ba21ca4dc90f84b1f19d8bc45530196 Mon Sep 17 00:00:00 2001 From: Pedro Teixeira Date: Mon, 4 Aug 2014 00:03:54 +0200 Subject: [PATCH 1/2] =?UTF-8?q?#11=20Altera=20assinatura=20do=20me=CC=81to?= =?UTF-8?q?do=20isZipCodeRequired()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } From 74336af5d260a68349c56fd4a2ce6dafdbbca2dc Mon Sep 17 00:00:00 2001 From: Pedro Teixeira Date: Mon, 4 Aug 2014 00:05:09 +0200 Subject: [PATCH 2/2] #11 Adiciona no CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) 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