1 | <?php |
||
6 | class UserFormsCheckboxSetField extends CheckboxSetField |
||
|
|||
7 | { |
||
8 | |||
9 | /** |
||
10 | * jQuery validate requires that the value of the option does not contain |
||
11 | * the actual value of the input. |
||
12 | * |
||
13 | * @return ArrayList |
||
14 | */ |
||
15 | public function getOptions() |
||
25 | |||
26 | /** |
||
27 | * @inheritdoc |
||
28 | * |
||
29 | * @param Validator $validator |
||
30 | * |
||
31 | * @return bool |
||
32 | */ |
||
33 | public function validate($validator) |
||
55 | } |
||
56 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.