File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/SalesGraphQl/Model/Order Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public function getOrderShippingAddress(
26
26
): ?array {
27
27
$ shippingAddress = null ;
28
28
if ($ order ->getShippingAddress ()) {
29
- $ shippingAddress = $ this ->orderAddressDataFormatter ($ order ->getShippingAddress ());
29
+ $ shippingAddress = $ this ->formatAddressData ($ order ->getShippingAddress ());
30
30
}
31
31
return $ shippingAddress ;
32
32
}
@@ -42,7 +42,7 @@ public function getOrderBillingAddress(
42
42
): ?array {
43
43
$ billingAddress = null ;
44
44
if ($ order ->getBillingAddress ()) {
45
- $ billingAddress = $ this ->orderAddressDataFormatter ($ order ->getBillingAddress ());
45
+ $ billingAddress = $ this ->formatAddressData ($ order ->getBillingAddress ());
46
46
}
47
47
return $ billingAddress ;
48
48
}
@@ -53,7 +53,7 @@ public function getOrderBillingAddress(
53
53
* @param OrderAddressInterface $orderAddress
54
54
* @return array
55
55
*/
56
- private function orderAddressDataFormatter (
56
+ private function formatAddressData (
57
57
OrderAddressInterface $ orderAddress
58
58
): array {
59
59
return
You can’t perform that action at this time.
0 commit comments