A few coding standards fixes
This commit is contained in:
parent
735c1b7a14
commit
6f51fce88b
|
@ -104,7 +104,7 @@ class WC_Shipping_Zone extends WC_Legacy_Shipping_Zone {
|
|||
$all_continents = WC()->countries->get_continents();
|
||||
$all_countries = WC()->countries->get_countries();
|
||||
$all_states = WC()->countries->get_states();
|
||||
$locations = $this->get_zone_locations();
|
||||
$locations = $this->get_zone_locations( $context );
|
||||
$continents = array_filter( $locations, array( $this, 'location_is_continent' ) );
|
||||
$countries = array_filter( $locations, array( $this, 'location_is_country' ) );
|
||||
$states = array_filter( $locations, array( $this, 'location_is_state' ) );
|
||||
|
|
|
@ -33,7 +33,7 @@ class WC_Shipping_Zone_Data_Store_Table implements WC_Shipping_Zone_Data_Store_I
|
|||
}
|
||||
|
||||
/**
|
||||
* Update zone in the database
|
||||
* Update zone in the database.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @param WC_Shipping_Zone
|
||||
|
@ -53,7 +53,6 @@ class WC_Shipping_Zone_Data_Store_Table implements WC_Shipping_Zone_Data_Store_I
|
|||
WC_Cache_Helper::get_transient_version( 'shipping', true );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Method to read a shipping zone from the database.
|
||||
*
|
||||
|
@ -98,7 +97,7 @@ class WC_Shipping_Zone_Data_Store_Table implements WC_Shipping_Zone_Data_Store_I
|
|||
}
|
||||
|
||||
/**
|
||||
* Get a list of shipping methods for a specific sone.
|
||||
* Get a list of shipping methods for a specific zone.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @param int $zone_id Zone ID
|
||||
|
|
Loading…
Reference in New Issue