Skip to content

Commit ea190a9

Browse files
committed
Code updated
1 parent be73319 commit ea190a9

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

app/code/Magento/SalesGraphQl/Model/Resolver/OrderTotal.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function resolve(
9393
private function getAllAppliedTaxesOnOrders(OrderInterface $order): array
9494
{
9595
return array_map(
96-
fn ($appliedTaxesData) => [
96+
fn($appliedTaxesData) => [
9797
'title' => $appliedTaxesData->getTitle(),
9898
'percent' => $appliedTaxesData->getPercent(),
9999
'amount' => $appliedTaxesData->getAmount(),
@@ -112,7 +112,7 @@ private function getAllAppliedTaxesOnOrders(OrderInterface $order): array
112112
private function getAppliedTaxesDetails(OrderInterface $order): array
113113
{
114114
return array_map(
115-
fn ($appliedTaxes) => [
115+
fn($appliedTaxes) => [
116116
'rate' => $appliedTaxes['percent'] ?? 0,
117117
'title' => $appliedTaxes['title'] ?? null,
118118
'amount' => [

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/OrderTotalGrandTotalExclTaxTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
/**
33
* Copyright 2025 Adobe
44
* All Rights Reserved.
5-
*
6-
* NOTICE: All information contained herein is, and remains
7-
* the property of Adobe and its suppliers, if any. The intellectual
8-
* and technical concepts contained herein are proprietary to Adobe
9-
* and its suppliers and are protected by all applicable intellectual
10-
* property laws, including trade secret and copyright laws.
11-
* Dissemination of this information or reproduction of this material
12-
* is strictly forbidden unless prior written permission is obtained from
13-
* Adobe.
145
*/
156
declare(strict_types=1);
167

0 commit comments

Comments
 (0)