Minor adjustments to fit coding standards

Added periods to comments and proper spacing and capitalization to comments.
This commit is contained in:
Warren Wang 2021-02-26 13:45:20 +08:00
parent 8605ada7cf
commit d6b2e91c9d
1 changed files with 2 additions and 2 deletions

View File

@ -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';