Minor adjustments to fit coding standards
Added periods to comments and proper spacing and capitalization to comments.
This commit is contained in:
parent
8605ada7cf
commit
d6b2e91c9d
|
@ -31,10 +31,10 @@ class WC_REST_Shipping_Zone_Methods_Controller extends WC_REST_Shipping_Zone_Met
|
|||
* @return array
|
||||
*/
|
||||
public function get_item_schema() {
|
||||
// Get parent schema to append additional supported settings types for shipping zone method
|
||||
// Get parent schema to append additional supported settings types for shipping zone method.
|
||||
$schema = parent::get_item_schema();
|
||||
|
||||
//append additional settings supported types (class, order)
|
||||
// Append additional settings supported types (class, order).
|
||||
$schema['properties']['settings']['properties']['type']['enum'][] = 'class';
|
||||
$schema['properties']['settings']['properties']['type']['enum'][] = 'order';
|
||||
|
||||
|
|
Loading…
Reference in New Issue