Join GitHub today
Fix for #2059 - Action\TaxRule.php BC break #2060
This PR introduces a method in Action\TaxRule.php to ensure a compatibility with the 2.2.2 country arrays.
The method checks the $obj parameter, and create a 2.3.0-alpha1 compatible return value if $obj is expressed using the 2.2.2 form.
Some sanity checks have also been added.