From 33ad23f371a758b3083950fb01d6843fbf19c0b9 Mon Sep 17 00:00:00 2001 From: Shiva Poudel Date: Tue, 10 Nov 2015 07:13:53 +0545 Subject: [PATCH] Improve help tip docblock and remove space --- includes/admin/wc-admin-functions.php | 5 ++--- includes/class-wc-geo-ip.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/admin/wc-admin-functions.php b/includes/admin/wc-admin-functions.php index ff5a089c13d..e43af43a08a 100644 --- a/includes/admin/wc-admin-functions.php +++ b/includes/admin/wc-admin-functions.php @@ -378,13 +378,12 @@ function wc_save_order_items( $order_id, $items ) { } /** - * Add help tips. * Display a WooCommerce help tip. * * @since 2.5.0 * - * @param string $tip Help tip text - * @param bool $allow_html Allow sanitized HTML if true or escape + * @param string $tip Help tip text + * @param bool $allow_html Allow sanitized HTML if true or escape * @return string */ function wc_help_tip( $tip, $allow_html = false ) { diff --git a/includes/class-wc-geo-ip.php b/includes/class-wc-geo-ip.php index abcf200df84..702f84a3b7d 100644 --- a/includes/class-wc-geo-ip.php +++ b/includes/class-wc-geo-ip.php @@ -1606,7 +1606,7 @@ class WC_Geo_IP { */ public function geoip_country_code_by_addr_v6( $addr ) { $country_id = $this->geoip_country_id_by_addr_v6( $addr ); - if ( $country_id !== false && isset( $this->GEOIP_COUNTRY_CODES[ $country_id ] ) ) { + if ( $country_id !== false && isset( $this->GEOIP_COUNTRY_CODES[ $country_id ] ) ) { return $this->GEOIP_COUNTRY_CODES[ $country_id ]; }