1 | <?php |
||
20 | class CheckboxList extends Multiple { |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | 1 | public function handle(FormData $data) { |
|
35 | |||
36 | |||
37 | /** |
||
38 | * @param array|string $data |
||
39 | * @return $this |
||
40 | */ |
||
41 | 1 | public function setValue($data) { |
|
56 | |||
57 | |||
58 | /** |
||
59 | * @return array |
||
60 | */ |
||
61 | 2 | public function getValue() { |
|
64 | |||
65 | |||
66 | /** |
||
67 | * @param string $optionKey |
||
68 | * @return bool |
||
69 | */ |
||
70 | 1 | public function isChecked($optionKey) { |
|
73 | |||
74 | |||
75 | /** |
||
76 | * Alias of setValue |
||
77 | * |
||
78 | * @param string[] $values |
||
79 | * @return $this |
||
80 | */ |
||
81 | public function setChecked($values) { |
||
84 | |||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | 1 | public function render() { |
|
111 | } |
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..