Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | 2 | public function rules() |
|
25 | { |
||
26 | return [ |
||
27 | 2 | 'subject' => 'required', |
|
28 | 'equipment' => 'required', |
||
29 | 'tip_type_id' => 'required', |
||
30 | 'description' => 'required', |
||
31 | 'notify' => 'required', |
||
32 | 'sticky' => 'required', |
||
33 | 'cur_files' => 'nullable', |
||
34 | 'deletedFileList' => 'nullable', |
||
35 | ]; |
||
38 |