Skip to content

Commit e009566

Browse files
Pooja.ManralPooja.Manral
authored andcommitted
AC:11798::Shipping price showing diffrent in printed pdf
1 parent f35a7a6 commit e009566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Model/Order/Pdf/AbstractPdf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function __construct(
176176
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate,
177177
\Magento\Framework\Translate\Inline\StateInterface $inlineTranslation,
178178
\Magento\Sales\Model\Order\Address\Renderer $addressRenderer,
179-
TaxHelper $taxHelper = null,
179+
TaxHelper $taxHelper,
180180
array $data = [],
181181
Database $fileStorageDatabase = null,
182182
?RtlTextHandler $rtlTextHandler = null,
@@ -193,7 +193,7 @@ public function __construct(
193193
$this->_pdfTotalFactory = $pdfTotalFactory;
194194
$this->_pdfItemsFactory = $pdfItemsFactory;
195195
$this->inlineTranslation = $inlineTranslation;
196-
$this->taxHelper = $taxHelper ?: ObjectManager::getInstance()->get(TaxHelper::class);
196+
$this->taxHelper = $taxHelper;
197197
$this->fileStorageDatabase = $fileStorageDatabase ?: ObjectManager::getInstance()->get(Database::class);
198198
$this->rtlTextHandler = $rtlTextHandler ?: ObjectManager::getInstance()->get(RtlTextHandler::class);
199199
$this->image = $image ?: ObjectManager::getInstance()->get(Image::class);

0 commit comments

Comments
 (0)