Skip to content

Commit b331f00

Browse files
author
Jeroen
authored
Set visibility of getTaxPrice() to public in ProductWithoutChildren (#1159)
1 parent 398be15 commit b331f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Entity/Product/PriceManager/ProductWithoutChildren.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected function convertPrice($amount, $currencyCode)
132132
return $this->priceCurrency->convert($amount, $this->store, $currencyCode);
133133
}
134134

135-
protected function getTaxPrice($product, $amount, $withTax)
135+
public function getTaxPrice($product, $amount, $withTax)
136136
{
137137
return (float) $this->catalogHelper->getTaxPrice(
138138
$product,

0 commit comments

Comments
 (0)