| @@ -13,7 +13,7 @@ discard block | ||
| 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() | 
| 19 | 19 |      { | 
| @@ -25,7 +25,7 @@ discard block | ||
| 25 | 25 | * | 
| 26 | 26 | * @param string $plugin The plugin to find all templates for. | 
| 27 | 27 | * | 
| 28 | - * @return mixed | |
| 28 | + * @return string | |
| 29 | 29 | */ | 
| 30 | 30 | public static function plugin($plugin) | 
| 31 | 31 |      { | 
| @@ -39,7 +39,7 @@ discard block | ||
| 39 | 39 | * | 
| 40 | 40 | * @param string $sections Sections to iterate over. | 
| 41 | 41 | * | 
| 42 | - * @return array | |
| 42 | + * @return string | |
| 43 | 43 | */ | 
| 44 | 44 | protected static function strip($sections) | 
| 45 | 45 |      { | 
| @@ -11,7 +11,7 @@ discard block | ||
| 11 | 11 | /** | 
| 12 | 12 | * Return all sections (app & plugins) with an Template directory. | 
| 13 | 13 | * | 
| 14 | - * @return array | |
| 14 | + * @return string | |
| 15 | 15 | */ | 
| 16 | 16 | public static function all() | 
| 17 | 17 |      { | 
| @@ -23,7 +23,7 @@ discard block | ||
| 23 | 23 | * | 
| 24 | 24 | * @param string $plugin The plugin to find all templates for. | 
| 25 | 25 | * | 
| 26 | - * @return mixed | |
| 26 | + * @return string | |
| 27 | 27 | */ | 
| 28 | 28 | public static function plugin($plugin) | 
| 29 | 29 |      { | 
| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 | * | 
| 38 | 38 | * @param string $sections Sections to iterate over. | 
| 39 | 39 | * | 
| 40 | - * @return array | |
| 40 | + * @return string | |
| 41 | 41 | */ | 
| 42 | 42 | protected static function deepen($sections) | 
| 43 | 43 |      { | 
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | } | 
| 37 | 37 | |
| 38 | 38 | /** | 
| 39 | - * @return string|Twig_LoaderInterface | |
| 39 | + * @return \Twig_LoaderInterface | |
| 40 | 40 | */ | 
| 41 | 41 | public function getResultLoader() | 
| 42 | 42 |      { | 
| @@ -24,7 +24,6 @@ | ||
| 24 | 24 | // use Jasny\Twig\TextExtension; // FIXME Not ported to Twig 2.x yet | 
| 25 | 25 | use WyriHaximus\TwigView\Lib\Cache; | 
| 26 | 26 | use WyriHaximus\TwigView\Lib\Twig\Extension; | 
| 27 | -use WyriHaximus\TwigView\Lib\Twig\TokenParser; | |
| 28 | 27 | |
| 29 | 28 | /** | 
| 30 | 29 | * Class ExtensionsListener | 
| @@ -40,7 +40,7 @@ | ||
| 40 | 40 | * | 
| 41 | 41 | * @param string $name The template logical name. | 
| 42 | 42 | * | 
| 43 | - * @return Twig_Source | |
| 43 | + * @return \Twig_Source | |
| 44 | 44 | * | 
| 45 | 45 | * @throws Twig_Error_Loader When $name is not found | 
| 46 | 46 | */ |