@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Return all sections (app & plugins) with an Template directory. |
17 | 17 | * |
18 | - * @return array |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public static function all() |
21 | 21 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
40 | - * @return string|Twig\Loader\LoaderInterface |
|
40 | + * @return LoaderInterface |
|
41 | 41 | */ |
42 | 42 | public function getResultLoader() |
43 | 43 | { |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Get declared filters. |
25 | 25 | * |
26 | - * @return \Twig\TwigFilter[] |
|
26 | + * @return TwigFilter[] |
|
27 | 27 | */ |
28 | 28 | public function getFilters() |
29 | 29 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * Get declared functions. |
56 | 56 | * |
57 | - * @return \Twig\TwigFunction[] |
|
57 | + * @return TwigFunction[] |
|
58 | 58 | */ |
59 | 59 | public function getFunctions() |
60 | 60 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param string $name The template logical name. |
45 | 45 | * |
46 | 46 | * @throws Twig\Error\Loader When $name is not found |
47 | - * @return Twig\Source |
|
47 | + * @return Source |
|
48 | 48 | * |
49 | 49 | */ |
50 | 50 | public function getSourceContext($name) |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * Constructor. |
34 | 34 | * |
35 | 35 | * @param bool $assign Assign or echo. |
36 | - * @param mixed $variable Variable to assign to. |
|
36 | + * @param string|null $variable Variable to assign to. |
|
37 | 37 | * @param /Twig\Node\Expression\AbstractExpression $name Name. |
38 | 38 | * @param /Twig\Node\Expression\AbstractExpression $data Data array. |
39 | 39 | * @param /Twig\Node\Expression\AbstractExpression $options Options array. |