Fixed get_item_schema() description

This commit is contained in:
Claudio Sanches 2016-03-09 21:34:14 -03:00
parent e493b80c5a
commit 3e6ef07ead
9 changed files with 11 additions and 11 deletions

View File

@ -382,7 +382,7 @@ class WC_REST_Coupons_Controller extends WC_REST_Posts_Controller {
} }
/** /**
* Get the Post's schema, conforming to JSON Schema. * Get the Coupon's schema, conforming to JSON Schema.
* *
* @return array * @return array
*/ */

View File

@ -591,8 +591,8 @@ class WC_REST_Customers_Controller extends WP_REST_Controller {
/** /**
* Prepare links for the request. * Prepare links for the request.
* *
* @param WP_User $customer User object. * @param WP_User $customer Customer object.
* @return array Links for the given user. * @return array Links for the given customer.
*/ */
protected function prepare_links( $customer ) { protected function prepare_links( $customer ) {
$links = array( $links = array(
@ -608,7 +608,7 @@ class WC_REST_Customers_Controller extends WP_REST_Controller {
} }
/** /**
* Get the User's schema, conforming to JSON Schema * Get the Customer's schema, conforming to JSON Schema
* *
* @return array * @return array
*/ */

View File

@ -72,7 +72,7 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
} }
/** /**
* Get the Term's schema, conforming to JSON Schema. * Get the Attribute Term's schema, conforming to JSON Schema.
* *
* @return array * @return array
*/ */

View File

@ -486,7 +486,7 @@ class WC_REST_Product_Attributes_Controller extends WP_REST_Controller {
} }
/** /**
* Get the Term's schema, conforming to JSON Schema. * Get the Attribute's schema, conforming to JSON Schema.
* *
* @return array * @return array
*/ */

View File

@ -122,7 +122,7 @@ class WC_REST_Product_Categories_Controller extends WC_REST_Terms_Controller {
} }
/** /**
* Get the Term's schema, conforming to JSON Schema. * Get the Category schema, conforming to JSON Schema.
* *
* @return array * @return array
*/ */

View File

@ -106,7 +106,7 @@ class WC_REST_Product_Shipping_Classes_Controller extends WC_REST_Terms_Controll
} }
/** /**
* Get the Term's schema, conforming to JSON Schema. * Get the Shipping Class schema, conforming to JSON Schema.
* *
* @return array * @return array
*/ */

View File

@ -80,7 +80,7 @@ class WC_REST_Product_Tags_Controller extends WC_REST_Terms_Controller {
} }
/** /**
* Get the Term's schema, conforming to JSON Schema. * Get the Tag's schema, conforming to JSON Schema.
* *
* @return array * @return array
*/ */

View File

@ -312,7 +312,7 @@ class WC_REST_Tax_Classes_Controller extends WP_REST_Controller {
} }
/** /**
* Get the User's schema, conforming to JSON Schema * Get the Tax Classes schema, conforming to JSON Schema
* *
* @return array * @return array
*/ */

View File

@ -529,7 +529,7 @@ class WC_REST_Taxes_Controller extends WP_REST_Controller {
} }
/** /**
* Get the User's schema, conforming to JSON Schema * Get the Taxes schema, conforming to JSON Schema
* *
* @return array * @return array
*/ */