Skip to content

Commit

Permalink
Merge pull request #11 from pedro-teixeira/11-assinatura-iszipcode-al…
Browse files Browse the repository at this point in the history
…terada

Assinatura do método isZipCodeRequired() alterada no Magento 1.7
  • Loading branch information
Pedro Teixeira committed Aug 3, 2014
2 parents e8f63a0 + 74336af commit 7d1d7ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7d1d7ba

Please sign in to comment.