includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
Method get_item_schema
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_item_schema() {
$schema = array(
'$schema' => 'http://json-schema.org/draft-04/schema#',
'title' => 'order_note',
'type' => 'object',