1 | <?php |
||
12 | class FieldsetOpenElement extends TagOpenElement |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @param string $legend |
||
17 | * @param array $attributes |
||
18 | */ |
||
19 | public function __construct($legend='', $attributes = array()) |
||
27 | |||
28 | /** |
||
29 | * The HTML representation of this element |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | public function toHTML() |
||
40 | } |
||
41 |
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.