From 5093710ad471c93e714f28111c2966ac701ee052 Mon Sep 17 00:00:00 2001 From: aezazs-multidots <72435501+aezazs-multidots@users.noreply.github.com> Date: Thu, 14 Jul 2022 13:28:39 +0530 Subject: [PATCH] Proper commenting of a function (#33823) * Proper commenting of a function * Created changelog entry * change changelog entry --- .../changelog/update-proper-commenting-of-a-function | 4 ++++ plugins/woocommerce/includes/class-wc-order.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 plugins/woocommerce/changelog/update-proper-commenting-of-a-function diff --git a/plugins/woocommerce/changelog/update-proper-commenting-of-a-function b/plugins/woocommerce/changelog/update-proper-commenting-of-a-function new file mode 100644 index 00000000000..72bb1a3900b --- /dev/null +++ b/plugins/woocommerce/changelog/update-proper-commenting-of-a-function @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Proper comment of get_formatted_shipping_address function. \ No newline at end of file diff --git a/plugins/woocommerce/includes/class-wc-order.php b/plugins/woocommerce/includes/class-wc-order.php index b9540b5d40d..97e10351cbc 100644 --- a/plugins/woocommerce/includes/class-wc-order.php +++ b/plugins/woocommerce/includes/class-wc-order.php @@ -948,8 +948,8 @@ class WC_Order extends WC_Abstract_Order { * Filter orders formatted shipping address. * * @since 3.8.0 - * @param string $address Formatted billing address string. - * @param array $raw_address Raw billing address. + * @param string $address Formatted shipping address string. + * @param array $raw_address Raw shipping address. * @param WC_Order $order Order data. @since 3.9.0 */ return apply_filters( 'woocommerce_order_get_formatted_shipping_address', $address ? $address : $empty_content, $raw_address, $this );