File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
app/code/Magento/SalesGraphQl/Model/Resolver
dev/tests/api-functional/testsuite/Magento/GraphQl/Sales Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function resolve(
93
93
private function getAllAppliedTaxesOnOrders (OrderInterface $ order ): array
94
94
{
95
95
return array_map (
96
- fn ($ appliedTaxesData ) => [
96
+ fn ($ appliedTaxesData ) => [
97
97
'title ' => $ appliedTaxesData ->getTitle (),
98
98
'percent ' => $ appliedTaxesData ->getPercent (),
99
99
'amount ' => $ appliedTaxesData ->getAmount (),
@@ -112,7 +112,7 @@ private function getAllAppliedTaxesOnOrders(OrderInterface $order): array
112
112
private function getAppliedTaxesDetails (OrderInterface $ order ): array
113
113
{
114
114
return array_map (
115
- fn ($ appliedTaxes ) => [
115
+ fn ($ appliedTaxes ) => [
116
116
'rate ' => $ appliedTaxes ['percent ' ] ?? 0 ,
117
117
'title ' => $ appliedTaxes ['title ' ] ?? null ,
118
118
'amount ' => [
Original file line number Diff line number Diff line change 2
2
/**
3
3
* Copyright 2025 Adobe
4
4
* 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.
14
5
*/
15
6
declare (strict_types=1 );
16
7
You can’t perform that action at this time.
0 commit comments