| 1 | <?php |
||
| 8 | class Email extends Field { |
||
| 9 | |||
| 10 | public $value = ''; |
||
| 11 | 8 | ||
| 12 | public function getValue() |
||
| 16 | 12 | ||
| 17 | public function getButtonName() |
||
| 21 | 4 | ||
| 22 | public function renderWith() |
||
| 26 | 11 | ||
| 27 | public function setValueFromDefault() |
||
| 31 | 1 | ||
| 32 | public function setValueFromModel($model) |
||
| 36 | |||
| 37 | public function setValueFromRequest($request) |
||
| 41 | 1 | ||
| 42 | public function fillModelWithValue($model) |
||
| 46 | 2 | ||
| 47 | public function validate() |
||
| 51 | 2 | ||
| 52 | public function validateRequired() |
||
| 56 | 3 | ||
| 57 | } |
||
| 58 |
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..