| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | /* |
| 4 | 4 | * This file is part of Mustache.php. |
| 5 | 5 | * |
| 6 | - * (c) 2013 Justin Hileman | |
| 6 | + * (c) 2010-2017 Justin Hileman | |
| 7 | 7 | * |
| 8 | 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | { |
| 18 | 18 | private $loaders; |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * Construct a CascadingLoader with an array of loaders: | |
| 21 | + * Construct a CascadingLoader with an array of loaders. | |
| 22 | 22 | * |
| 23 | 23 | * $loader = new Mustache_Loader_CascadingLoader(array( |
| 24 | 24 | * new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__), |
| 25 | 25 | * new Mustache_Loader_FilesystemLoader(__DIR__.'/templates') |
| @@ -24,9 +24,9 @@ | ||
| 24 | 24 | * new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__), |
| 25 | 25 | * new Mustache_Loader_FilesystemLoader(__DIR__.'/templates') |
| 26 | 26 | * )); |
| 27 | 27 | * |
| 28 | - * @param array $loaders An array of Mustache Loader instances | |
| 28 | + * @param Mustache_Loader[] $loaders | |
| 29 | 29 | */ |
| 30 | 30 | public function __construct(array $loaders = array()) |
| 31 | 31 | { |
| 32 | 32 | $this->loaders = array(); |
| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * Add a Loader instance. |
| 40 | 40 | * |
| 41 | - * @param Mustache_Loader $loader A Mustache Loader instance | |
| 41 | + * @param Mustache_Loader $loader | |
| 42 | 42 | */ |
| 43 | 43 | public function addLoader(Mustache_Loader $loader) |
| 44 | 44 | { |
| 45 | 45 | $this->loaders[] = $loader; |
| @@ -47,9 +47,9 @@ | ||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * Load a Template by name. |
| 50 | 50 | * |
| 51 | - * @throws Mustache_Exception_UnknownTemplateException If a template file is not found. | |
| 51 | + * @throws Mustache_Exception_UnknownTemplateException If a template file is not found | |
| 52 | 52 | * |
| 53 | 53 | * @param string $name |
| 54 | 54 | * |
| 55 | 55 | * @return string Mustache Template source |