@@ -13,7 +13,7 @@ |
||
13 | 13 | /** |
14 | 14 | * Return all sections (app & plugins) with an Template directory. |
15 | 15 | * |
16 | - * @return array |
|
16 | + * @return string |
|
17 | 17 | */ |
18 | 18 | public static function all(): array |
19 | 19 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * @param string $name The template logical name. |
47 | 47 | * |
48 | 48 | * @throws \WyriHaximus\TwigView\Lib\Twig\Twig\Error\Loader When $name is not found |
49 | - * @return \WyriHaximus\TwigView\Lib\Twig\Twig\Source |
|
49 | + * @return Source |
|
50 | 50 | * |
51 | 51 | */ |
52 | 52 | public function getSourceContext($name): Source |
@@ -247,7 +247,7 @@ |
||
247 | 247 | /** |
248 | 248 | * @param string $name |
249 | 249 | * @param bool $pluginCheck |
250 | - * @return string|bool |
|
250 | + * @return string|false |
|
251 | 251 | */ |
252 | 252 | protected function _getElementFileName(string $name, bool $pluginCheck = true) |
253 | 253 | { |