application/modules/cfcm/cfcm_forms.php
Method edit_field
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function edit_field($type) {
$f = [];
$f['label'] = [
'type' => 'text',
- Create a ticketCreate a ticket
Method create_field
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function create_field() {
$fields = [
'field_name' => [
'type' => 'text',
'label' => lang('Name', 'cfcm') . ': '."<span class='must'>*</span>",
- Create a ticketCreate a ticket