includes/rest-api/Controllers/Version2/class-wc-rest-webhooks-v2-controller.php
Method get_item_schema
has 88 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' => 'webhook',
'type' => 'object',