1 | <?php |
||
8 | class Dropdown extends Field { |
||
9 | |||
10 | public $options = []; |
||
11 | |||
12 | public $value = ''; |
||
13 | 7 | ||
14 | public function setOptions($options) |
||
19 | 5 | ||
20 | public function getValue() |
||
24 | 7 | ||
25 | public function getButtonName() |
||
29 | 3 | ||
30 | public function renderWith() |
||
47 | |||
48 | public function setValueFromDefault() |
||
52 | |||
53 | 1 | public function setValueFromModel($model) |
|
57 | |||
58 | 1 | public function setValueFromRequest($request) |
|
62 | |||
63 | public function fillModelWithValue($model) |
||
67 | |||
68 | public function validateRequired() |
||
72 | |||
73 | } |
||
74 |
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..