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(
176
176
\Magento \Framework \Stdlib \DateTime \TimezoneInterface $ localeDate ,
177
177
\Magento \Framework \Translate \Inline \StateInterface $ inlineTranslation ,
178
178
\Magento \Sales \Model \Order \Address \Renderer $ addressRenderer ,
179
- TaxHelper $ taxHelper = null ,
179
+ TaxHelper $ taxHelper ,
180
180
array $ data = [],
181
181
Database $ fileStorageDatabase = null ,
182
182
?RtlTextHandler $ rtlTextHandler = null ,
@@ -193,7 +193,7 @@ public function __construct(
193
193
$ this ->_pdfTotalFactory = $ pdfTotalFactory ;
194
194
$ this ->_pdfItemsFactory = $ pdfItemsFactory ;
195
195
$ this ->inlineTranslation = $ inlineTranslation ;
196
- $ this ->taxHelper = $ taxHelper ?: ObjectManager:: getInstance ()-> get (TaxHelper::class) ;
196
+ $ this ->taxHelper = $ taxHelper ;
197
197
$ this ->fileStorageDatabase = $ fileStorageDatabase ?: ObjectManager::getInstance ()->get (Database::class);
198
198
$ this ->rtlTextHandler = $ rtlTextHandler ?: ObjectManager::getInstance ()->get (RtlTextHandler::class);
199
199
$ this ->image = $ image ?: ObjectManager::getInstance ()->get (Image::class);
You can’t perform that action at this time.
0 commit comments