1 | <?php |
||
11 | class TextArea extends TextField |
||
12 | { |
||
13 | /** |
||
14 | * @var int|null visible number of lines in the textarea |
||
15 | */ |
||
16 | public $rows = null; |
||
17 | |||
18 | /** |
||
19 | * @var int|null visible width of the textarea |
||
20 | */ |
||
21 | public $cols = null; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | 1 | public function renderInput(InputRenderer $renderer, InputModel $model, array $attr) |
|
44 | } |
||
45 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.