Merge pull request #9998 from frozzare/docs/class-wc-countries

Improve docblock comments WC_Countries class
This commit is contained in:
Claudio Sanches 2016-01-06 13:48:18 -02:00
commit 62c195b238
1 changed files with 5 additions and 4 deletions

View File

@ -194,7 +194,7 @@ class WC_Countries {
}
/**
* get_allowed_country_states function.
* Get allowed country states.
* @return array
*/
public function get_allowed_country_states() {
@ -216,7 +216,7 @@ class WC_Countries {
}
/**
* get_shipping_country_states function.
* Get shipping country states.
* @return array
*/
public function get_shipping_country_states() {
@ -317,6 +317,7 @@ class WC_Countries {
* @param string $selected_country (default: '')
* @param string $selected_state (default: '')
* @param bool $escape (default: false)
* @param bool $escape (default: false)
*/
public function country_dropdown_options( $selected_country = '', $selected_state = '', $escape = false ) {
if ( $this->countries ) foreach ( $this->countries as $key => $value ) :
@ -475,7 +476,7 @@ class WC_Countries {
/**
* Trim white space and commas off a line.
* @param string
* @param string $line
* @return string
*/
private function trim_formatted_address_line( $line ) {
@ -912,7 +913,7 @@ class WC_Countries {
/**
* Apply locale and get address fields.
* @param mixed $country
* @param mixed $country (default: '')
* @param string $type (default: 'billing_')
* @return array
*/