Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function __construct($legend='', $attributes = array()) |
||
20 | { |
||
21 | // this is a bit messy and we just do it for the nicer class hierarchy |
||
22 | // the parent would expect the tag in $value but we're storing the |
||
23 | // legend there, so we have to set the type manually |
||
24 | parent::__construct($legend, $attributes); |
||
25 | $this->type = 'fieldsetopen'; |
||
26 | } |
||
27 | |||
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.