diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-01 21:24:27 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-01 21:24:27 -0500 |
commit | f90252395697aa4f1d0e606e4d92665b2293eb8d (patch) | |
tree | 3473ac245fd20fdf078fad95f935989e470e5890 /phpBB/includes/template | |
parent | 3dc40ad8443671081adc6f975a155f6f30cf3159 (diff) | |
download | forums-f90252395697aa4f1d0e606e4d92665b2293eb8d.tar forums-f90252395697aa4f1d0e606e4d92665b2293eb8d.tar.gz forums-f90252395697aa4f1d0e606e4d92665b2293eb8d.tar.bz2 forums-f90252395697aa4f1d0e606e4d92665b2293eb8d.tar.xz forums-f90252395697aa4f1d0e606e4d92665b2293eb8d.zip |
[feature/twig] Comments
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r-- | phpBB/includes/template/twig/environment.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/phpBB/includes/template/twig/environment.php b/phpBB/includes/template/twig/environment.php index a71958998a..f1ce6da38b 100644 --- a/phpBB/includes/template/twig/environment.php +++ b/phpBB/includes/template/twig/environment.php @@ -39,12 +39,11 @@ class phpbb_template_twig_environment extends Twig_Environment } /** - * Gets the cache filename for a given template. - * - * @param string $name The template name - * - * @return string The cache file name - */ + * Gets the cache filename for a given template. + * + * @param string $name The template name + * @return string The cache file name + */ public function ignoregetCacheFilename($name) { if (false === $this->cache) @@ -127,7 +126,6 @@ class phpbb_template_twig_environment extends Twig_Environment * * @param string $name The template name * @param integer $index The index if it is an embedded template - * * @return Twig_TemplateInterface A template instance representing the given template name */ public function loadTemplate($name, $index = null) @@ -160,11 +158,12 @@ class phpbb_template_twig_environment extends Twig_Environment } /** - * recursive helper to set variables into $context so that Twig can properly fetch them for display + * Recursive helper to set variables into $context so that Twig can properly fetch them for display * * @param array $data Data to set at the end of the chain * @param array $blocks Array of blocks to loop into still * @param mixed $current_location Current location in $context (recursive!) + * @return null */ public function context_recursive_loop_builder($data, $blocks, &$current_location) { |