1 | <?php |
||
15 | class TabsTwigExtension extends AbstractExtension |
||
16 | { |
||
17 | /** |
||
18 | * Returns a list of functions to add to the existing list. |
||
19 | * |
||
20 | * @return array An array of functions |
||
|
|||
21 | */ |
||
22 | public function getFunctions() |
||
28 | |||
29 | /** |
||
30 | * @param Environment $env |
||
31 | * @param TabPane $tabPane The tab pane |
||
32 | * @param array $options The extra options |
||
33 | * @param string $template The template |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | public function renderWidget(Environment $env, TabPane $tabPane, $options = array(), $template = '@KunstmaanAdmin/TabsTwigExtension/widget.html.twig') |
||
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.