1 | <?php |
||
17 | class CheckboxList extends \Fiv\Form\Element\Multiple { |
||
18 | |||
19 | /** |
||
20 | * @param array|string $data |
||
21 | * @return $this |
||
22 | */ |
||
23 | public function setValue($data) { |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Alias of setValue |
||
42 | * |
||
43 | * @param string[] $values |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function setChecked($values) { |
||
49 | |||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function render() { |
||
76 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..