@@ -58,7 +58,7 @@ |
||
58 | 58 | $twig->addExtension(new Twig_Extension_StringLoader()); |
59 | 59 | $twig->addGlobal('image', new ImageHelper()); |
60 | 60 | |
61 | - $filter = new Twig_SimpleFilter("translate", function ($string) { |
|
61 | + $filter = new Twig_SimpleFilter("translate", function ($string) { |
|
62 | 62 | pll_register_string($string, $string, "stash"); |
63 | 63 | |
64 | 64 | return pll__($string); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Set all pages from within the functions.php->setControllers() |
41 | 41 | * |
42 | - * @param $pages |
|
42 | + * @param string[] $pages |
|
43 | 43 | */ |
44 | 44 | public function setPages($pages) |
45 | 45 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Set all pages from within the functions.php->setControllers() |
51 | 51 | * |
52 | - * @param $pages |
|
52 | + * @param string[] $pages |
|
53 | 53 | */ |
54 | 54 | public function setParentPages($pages) |
55 | 55 | { |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | /** |
199 | 199 | * Return name of the body class |
200 | 200 | * |
201 | - * @return bool|string |
|
201 | + * @return string|false |
|
202 | 202 | */ |
203 | 203 | public function getClass() |
204 | 204 | { |