@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Get Twig filters defined in this extension. |
16 | 16 | * |
17 | - * @return array |
|
17 | + * @return TwigFilter[] |
|
18 | 18 | */ |
19 | 19 | public function getFilters() |
20 | 20 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | /** |
29 | 29 | * Get Twig functions defined in this extension. |
30 | 30 | * |
31 | - * @return array |
|
31 | + * @return TwigFunction[] |
|
32 | 32 | */ |
33 | 33 | public function getFunctions() |
34 | 34 | { |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | /** |
13 | 13 | * Get Twig functions defined in this extension. |
14 | 14 | * |
15 | - * @return array |
|
15 | + * @return TwigFunction[] |
|
16 | 16 | */ |
17 | 17 | public function getFunctions() |
18 | 18 | { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * Return the admin menu MenuBuilder. |
26 | 26 | * |
27 | - * @return MenuBuilder |
|
27 | + * @return boolean |
|
28 | 28 | */ |
29 | 29 | public function hideSidebarInNodeEditAdmin($node) |
30 | 30 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
25 | - * @return array |
|
25 | + * @return TwigFilter[] |
|
26 | 26 | */ |
27 | 27 | public function getFilters() |
28 | 28 | { |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | private $usesExtendedPagePartChooser = false; |
16 | 16 | |
17 | 17 | /** |
18 | - * @return array |
|
18 | + * @return TwigFunction[] |
|
19 | 19 | */ |
20 | 20 | public function getFunctions() |
21 | 21 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * Get usesExtendedPagePartChooser. |
66 | 66 | * |
67 | - * @return usesExtendedPagePartChooser |
|
67 | + * @return boolean |
|
68 | 68 | */ |
69 | 69 | public function getUsesExtendedPagePartChooser() |
70 | 70 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @return array |
|
33 | + * @return TwigFunction[] |
|
34 | 34 | */ |
35 | 35 | public function getFunctions() |
36 | 36 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * Returns a list of functions to add to the existing list. |
31 | 31 | * |
32 | - * @return array An array of functions |
|
32 | + * @return TwigFunction[] An array of functions |
|
33 | 33 | */ |
34 | 34 | public function getFunctions() |
35 | 35 | { |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | * |
130 | 130 | * @param array &$arr This is modified in place |
131 | 131 | * @param string $option the key in the $arr array |
132 | - * @param mixed $value the new value if the option wasn't set already |
|
132 | + * @param string $value the new value if the option wasn't set already |
|
133 | 133 | */ |
134 | 134 | private function setOptionIfNotSet(&$arr, $option, $value) |
135 | 135 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Returns a list of functions to add to the existing list. |
54 | 54 | * |
55 | - * @return array An array of functions |
|
55 | + * @return TwigFunction[] An array of functions |
|
56 | 56 | */ |
57 | 57 | public function getFunctions() |
58 | 58 | { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |
239 | - * @param $src |
|
239 | + * @param string $src |
|
240 | 240 | * |
241 | 241 | * @return array |
242 | 242 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Returns a list of filters. |
26 | 26 | * |
27 | - * @return array An array of filters |
|
27 | + * @return TwigFilter[] An array of filters |
|
28 | 28 | */ |
29 | 29 | public function getFilters() |
30 | 30 | { |