Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ private function getAppliedTaxes(Total $total, string $currency): array
$appliedTaxesData = [];
$appliedTaxes = $total->getAppliedTaxes();

if (count($appliedTaxes) === 0) {
if ($appliedTaxes === null || count($appliedTaxes) === 0) {
return $appliedTaxesData;
}

0 comments on commit ab2f3de

Please sign in to comment.