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(
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 ' => [
Original file line number Diff line number Diff line change 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 */
156declare (strict_types=1 );
167
You can’t perform that action at this time.
0 commit comments