Skip to content

Commit 46dc1b0

Browse files
committed
MC-35653:MyAccount :: Order Details :: Payments Methods, shipping address, billing address by Order Number
- Added static fixes
1 parent 6bbe9d6 commit 46dc1b0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function getOrderShippingAddress(
2626
) {
2727
$shippingAddress = null;
2828
if ($order->getShippingAddress()) {
29-
$shippingAddress = $this->OrderAddressDataFormatter($order->getShippingAddress());
29+
$shippingAddress = $this->orderAddressDataFormatter($order->getShippingAddress());
3030
}
3131
return $shippingAddress;
3232
}
@@ -42,7 +42,7 @@ public function getOrderBillingAddress(
4242
) {
4343
$billingAddress = null;
4444
if ($order->getBillingAddress()) {
45-
$billingAddress = $this->OrderAddressDataFormatter($order->getBillingAddress());
45+
$billingAddress = $this->orderAddressDataFormatter($order->getBillingAddress());
4646
}
4747
return $billingAddress;
4848
}
@@ -53,7 +53,7 @@ public function getOrderBillingAddress(
5353
* @param OrderAddressInterface $orderAddress
5454
* @return array
5555
*/
56-
private function OrderAddressDataFormatter(
56+
private function orderAddressDataFormatter(
5757
OrderAddressInterface $orderAddress
5858
): array {
5959
return

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
class OrderPayments
1616
{
1717
/**
18+
* Get the order payment method
19+
*
1820
* @param OrderInterface $orderModel
1921
* @return array
2022
*/

0 commit comments

Comments
 (0)