1 | <?php |
||
18 | class CheckboxList extends Multiple { |
||
19 | |||
20 | /** |
||
21 | * @param array|string $data |
||
22 | * @return $this |
||
23 | */ |
||
24 | 1 | public function setValue($data) { |
|
39 | |||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | 2 | public function getValue() { |
|
47 | |||
48 | |||
49 | /** |
||
50 | * @param string $optionKey |
||
51 | * @return bool |
||
52 | */ |
||
53 | 1 | public function isChecked($optionKey) { |
|
56 | |||
57 | |||
58 | /** |
||
59 | * Alias of setValue |
||
60 | * |
||
61 | * @param string[] $values |
||
62 | * @return $this |
||
63 | */ |
||
64 | public function setChecked($values) { |
||
67 | |||
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | */ |
||
72 | 1 | public function render() { |
|
94 | } |
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..