@@ -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 |