src/db-objects/submissions/rest-submissions-controller.php
Method get_item_schema
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_item_schema() {
$schema = parent::get_item_schema();
$schema['properties']['form_id'] = array(
'description' => __( 'ID of the form this submission belongs to.', 'torro-forms' ),