Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 8 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
49 | View Code Duplication | public function rules() |
|
50 | { |
||
51 | return [ |
||
52 | ['message', 'required'], |
||
53 | ['guestName', 'used'], |
||
54 | ['guestName', 'length_max', 100] |
||
55 | ]; |
||
56 | } |
||
57 | |||
77 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.