Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function renderWidget(Environment $env, TabPane $tabPane, $options = array(), $template = '@KunstmaanAdmin/TabsTwigExtension/widget.html.twig') |
||
38 | { |
||
39 | $template = $env->load($template); |
||
40 | |||
41 | return $template->render(array_merge($options, array( |
||
42 | 'tabPane' => $tabPane, |
||
43 | ))); |
||
44 | } |
||
45 | } |
||
46 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.