| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | } | 
| 38 | 38 | |
| 39 | 39 | /** | 
| 40 | - * @return string|Twig\Loader\LoaderInterface | |
| 40 | + * @return LoaderInterface | |
| 41 | 41 | */ | 
| 42 | 42 | public function getResultLoader(): LoaderInterface | 
| 43 | 43 |      { | 
| @@ -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 |      { | 
| @@ -44,7 +44,7 @@ | ||
| 44 | 44 | * @param string $name The template logical name. | 
| 45 | 45 | * | 
| 46 | 46 | * @throws Twig\Error\Loader When $name is not found | 
| 47 | - * @return Twig\Source | |
| 47 | + * @return Source | |
| 48 | 48 | * | 
| 49 | 49 | */ | 
| 50 | 50 | public function getSourceContext($name): Source | 
| @@ -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 |      { | 
| @@ -275,7 +275,7 @@ | ||
| 275 | 275 | /** | 
| 276 | 276 | * @param string $name | 
| 277 | 277 | * @param bool $pluginCheck | 
| 278 | - * @return string|bool | |
| 278 | + * @return string|false | |
| 279 | 279 | */ | 
| 280 | 280 | protected function _getElementFileName($name, $pluginCheck = true) | 
| 281 | 281 |      { |