Code Duplication    Length = 8-9 lines in 3 locations

Apps/Model/Admin/Feedback/FormUpdate.php 1 location

@@ 39-46 (lines=8) @@
36
    /**
37
    * Labels to display edit form
38
    */
39
    public function labels()
40
    {
41
        return [
42
            'name' => __('Name'),
43
            'email' => __('Email'),
44
            'message' => __('Message'),
45
        ];
46
    }
47
48
    /**
49
    * Rules to validate changes

Apps/Model/Front/Feedback/FormFeedbackAdd.php 1 location

@@ 43-51 (lines=9) @@
40
    /**
41
    * Labels to display form
42
    */
43
    public function labels()
44
    {
45
        return [
46
            'name' => __('Name'),
47
            'email' => __('Email'),
48
            'message' => __('Message'),
49
            'captcha' => __('Captcha')
50
        ];
51
    }
52
53
    /**
54
    * Rules to validate send form

Apps/Model/Front/Feedback/FormAnswerAdd.php 1 location

@@ 54-61 (lines=8) @@
51
    /**
52
    * Labels for display form
53
    */
54
    public function labels()
55
    {
56
        return [
57
            'name' => __('Name'),
58
            'email' => __('Email'),
59
            'message' => __('Message')
60
        ];
61
    }
62
63
    /**
64
    * Form validation rules