Skip to content

Commit 11b1dcf

Browse files
committed
MC-35653:MyAccount :: Order Details :: Payments Methods, shipping address, billing address by Order Number
- Fixed some static issues
1 parent f205571 commit 11b1dcf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/code/Magento/SalesGraphQl/Model/Order/OrderPayments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\Sales\Api\Data\OrderInterface;
1111

1212
/**
13-
* Class to extract the order payment details
13+
* Class to fetch the order payment details
1414
*/
1515
class OrderPayments
1616
{

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ public function resolve(
121121
private function formatOrdersArray(array $orderModels)
122122
{
123123
$ordersArray = [];
124-
125124
foreach ($orderModels as $orderModel) {
126-
127125
$ordersArray[] = [
128126
'created_at' => $orderModel->getCreatedAt(),
129127
'grand_total' => $orderModel->getGrandTotal(),

0 commit comments

Comments
 (0)