| Conditions | 3 |
| Paths | 4 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function __toString() |
||
|
|
|||
| 49 | { |
||
| 50 | $this->parameters['row_template'] = $this->parameters['row_template'] == null ? 'row.tpl.php' : $this->parameters['row_template']; |
||
| 51 | $this->parameters['default_cell_template'] = $this->parameters['default_cell_template'] == null ? 'default_cell.tpl.php' : $this->parameters['default_cell_template']; |
||
| 52 | return TemplateEngine::render('list.tpl.php', $this->parameters); |
||
| 53 | } |
||
| 54 | } |
||
| 56 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.