| 1 | <?php |
||
| 5 | class Textarea extends NamedElement |
||
| 6 | { |
||
| 7 | protected $type = 'textarea'; |
||
| 8 | |||
| 9 | protected $rows = 2; |
||
| 10 | |||
| 11 | protected $autoSize = false; |
||
| 12 | |||
| 13 | public function getRows() |
||
| 17 | |||
| 18 | public function setRows($value) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return bool|array |
||
| 27 | */ |
||
| 28 | public function getAutoSize() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param int $max |
||
| 35 | * @param int $min |
||
| 36 | * |
||
| 37 | * @return $this |
||
| 38 | */ |
||
| 39 | public function setAutoSize($max, $min = 1) |
||
| 48 | |||
| 49 | public function toArray() |
||
| 56 | } |
||
| 57 |
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..