1 | <?php |
||
20 | class CheckboxList extends Multiple { |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | 1 | public function handle(FormData $data) { |
|
29 | |||
30 | |||
31 | /** |
||
32 | * @param array|string $data |
||
33 | * @return $this |
||
34 | */ |
||
35 | 1 | public function setValue($data) { |
|
50 | |||
51 | |||
52 | /** |
||
53 | * @return array |
||
54 | */ |
||
55 | 2 | public function getValue() { |
|
58 | |||
59 | |||
60 | /** |
||
61 | * @param string $optionKey |
||
62 | * @return bool |
||
63 | */ |
||
64 | 1 | public function isChecked($optionKey) { |
|
67 | |||
68 | |||
69 | /** |
||
70 | * Alias of setValue |
||
71 | * |
||
72 | * @param string[] $values |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function setChecked($values) { |
||
78 | |||
79 | |||
80 | /** |
||
81 | * @return string |
||
82 | */ |
||
83 | 1 | public function render() { |
|
105 | } |
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..