From: nikic <+@ni-po.com> Date: Fri, 7 Jan 2011 16:38:36 +0000 (+0100) Subject: fix loader doccomments X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=70486064214b3fe0758acc0b423d9eb1cf443287;p=web%2Fkonrad%2Ftwig.git fix loader doccomments --- diff --git a/lib/Twig/Loader/Array.php b/lib/Twig/Loader/Array.php index 8b74310..8c8798a 100644 --- a/lib/Twig/Loader/Array.php +++ b/lib/Twig/Loader/Array.php @@ -42,7 +42,7 @@ class Twig_Loader_Array implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -58,7 +58,7 @@ class Twig_Loader_Array implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ diff --git a/lib/Twig/Loader/Filesystem.php b/lib/Twig/Loader/Filesystem.php index 8ba22b2..d0f26d9 100644 --- a/lib/Twig/Loader/Filesystem.php +++ b/lib/Twig/Loader/Filesystem.php @@ -67,7 +67,7 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -79,7 +79,7 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ @@ -103,7 +103,7 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface { // normalize name $name = preg_replace('#/{2,}#', '/', strtr($name, '\\', '/')); - + if (isset($this->cache[$name])) { return $this->cache[$name]; } diff --git a/lib/Twig/Loader/String.php b/lib/Twig/Loader/String.php index 1a3c357..0593a72 100644 --- a/lib/Twig/Loader/String.php +++ b/lib/Twig/Loader/String.php @@ -25,7 +25,7 @@ class Twig_Loader_String implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -37,7 +37,7 @@ class Twig_Loader_String implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ diff --git a/lib/Twig/LoaderInterface.php b/lib/Twig/LoaderInterface.php index c4e9d96..ef4adc4 100644 --- a/lib/Twig/LoaderInterface.php +++ b/lib/Twig/LoaderInterface.php @@ -20,7 +20,7 @@ interface Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -29,7 +29,7 @@ interface Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name string The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */