@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * Set all pages from within the functions.php->setControllers() |
| 36 | 36 | * |
| 37 | - * @param $pages |
|
| 37 | + * @param string[] $pages |
|
| 38 | 38 | */ |
| 39 | 39 | public function setPages($pages) |
| 40 | 40 | { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | /** |
| 106 | 106 | * Return name of the body class |
| 107 | 107 | * |
| 108 | - * @return bool|string |
|
| 108 | + * @return string|false |
|
| 109 | 109 | */ |
| 110 | 110 | public function getClass() |
| 111 | 111 | { |
@@ -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); |