Skip to content

Commit c90c366

Browse files
committed
#AC-7900:Unable to create Shipping Label for Dutiable shipments in DHL shipping method-method signature updated
2 parents d01dab8 + e40d2d2 commit c90c366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Dhl/Model/Carrier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ private function getGatewayURL(): string
21952195
* @param RateRequest $rawRequest
21962196
* @return void
21972197
*/
2198-
private function addExportDeclaration($xml, $rawRequest)
2198+
private function addExportDeclaration(\Magento\Shipping\Model\Simplexml\Element $xml, RateRequest $rawRequest)
21992199
{
22002200
$nodeExportDeclaration = $xml->addChild('ExportDeclaration', '', '');
22012201
$nodeExportDeclaration->addChild(
@@ -2239,7 +2239,7 @@ private function addExportDeclaration($xml, $rawRequest)
22392239
* @param RateRequest $rawRequest
22402240
* @return string
22412241
*/
2242-
private function getInvoiceNumbers($rawRequest)
2242+
private function getInvoiceNumbers(RateRequest $rawRequest)
22432243
{
22442244
$invoiceNumbers = [];
22452245
$order = $rawRequest->getOrderShipment()->getOrder();

0 commit comments

Comments
 (0)