| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait HasOptions |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Define the option elements and return as array |
||
| 11 | * Options are class specific and can be modified by the user |
||
| 12 | */ |
||
| 13 | public function addOptionControls(Form $form) {} |
||
|
|
|||
| 14 | |||
| 15 | /** |
||
| 16 | * Define the server side form validation rules |
||
| 17 | */ |
||
| 18 | public function rules() { |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getOptionDefaults() |
||
| 29 | } |
||
| 30 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.