Skip to content

Commit

Permalink
Merge branch 'MAR10001-PR68'
Browse files Browse the repository at this point in the history
  • Loading branch information
24198 committed Nov 17, 2021
2 parents 769586a + fa3b3cd commit e4fba07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function addMatcher(TaxRuleMatcherInterface $matcher)
public function match(AbstractAddress $address = null, array $taxCodes)
{
if (null === $address || null === $address->getCountry() || 0 === count($taxCodes)) {
return [];
return null;
}

$cacheKey = $this->getCacheKey($address, $taxCodes);
Expand Down

0 comments on commit e4fba07

Please sign in to comment.