File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Sales/Model/Order/Pdf Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments