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(
2626 ): ?array {
2727 $ shippingAddress = null ;
2828 if ($ order ->getShippingAddress ()) {
29- $ shippingAddress = $ this ->orderAddressDataFormatter ($ order ->getShippingAddress ());
29+ $ shippingAddress = $ this ->formatAddressData ($ order ->getShippingAddress ());
3030 }
3131 return $ shippingAddress ;
3232 }
@@ -42,7 +42,7 @@ public function getOrderBillingAddress(
4242 ): ?array {
4343 $ billingAddress = null ;
4444 if ($ order ->getBillingAddress ()) {
45- $ billingAddress = $ this ->orderAddressDataFormatter ($ order ->getBillingAddress ());
45+ $ billingAddress = $ this ->formatAddressData ($ 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 formatAddressData (
5757 OrderAddressInterface $ orderAddress
5858 ): array {
5959 return
You can’t perform that action at this time.
0 commit comments