Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function renderWidget(Environment $env, TabPane $tabPane, $options = [], $template = '@KunstmaanAdmin/TabsTwigExtension/widget.html.twig') |
||
37 | { |
||
38 | $template = $env->load($template); |
||
39 | |||
40 | return $template->render(array_merge($options, [ |
||
41 | 'tabPane' => $tabPane, |
||
42 | ])); |
||
43 | } |
||
44 | } |
||
45 |
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.