aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/loader.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 15:05:51 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-15 19:15:06 +0200
commit0d0113e6da590c113068a60864d44372a2fbccab (patch)
tree8930400497c37cf754c29a52e4034e043307967c /phpBB/phpbb/template/twig/loader.php
parente6b422517b17d0f3eb9ccf231ae0e4f5459efdf9 (diff)
downloadforums-0d0113e6da590c113068a60864d44372a2fbccab.tar
forums-0d0113e6da590c113068a60864d44372a2fbccab.tar.gz
forums-0d0113e6da590c113068a60864d44372a2fbccab.tar.bz2
forums-0d0113e6da590c113068a60864d44372a2fbccab.tar.xz
forums-0d0113e6da590c113068a60864d44372a2fbccab.zip
[ticket/12715] Cleanup comments in \phpbb\template\*
PHPBB3-12715
Diffstat (limited to 'phpBB/phpbb/template/twig/loader.php')
-rw-r--r--phpBB/phpbb/template/twig/loader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/twig/loader.php b/phpBB/phpbb/template/twig/loader.php
index 851eb9ddd0..2f8ffaa776 100644
--- a/phpBB/phpbb/template/twig/loader.php
+++ b/phpBB/phpbb/template/twig/loader.php
@@ -24,7 +24,7 @@ class loader extends \Twig_Loader_Filesystem
* Set safe directories
*
* @param array $directories Array of directories that are safe (empty to clear)
- * @return Twig_Loader_Filesystem
+ * @return \Twig_Loader_Filesystem
*/
public function setSafeDirectories($directories = array())
{
@@ -45,7 +45,7 @@ class loader extends \Twig_Loader_Filesystem
* Add safe directory
*
* @param string $directory Directory that should be added
- * @return Twig_Loader_Filesystem
+ * @return \Twig_Loader_Filesystem
*/
public function addSafeDirectory($directory)
{
@@ -110,7 +110,7 @@ class loader extends \Twig_Loader_Filesystem
// Try validating the name (which may throw an exception)
parent::validateName($name);
}
- catch (Twig_Error_Loader $e)
+ catch (\Twig_Error_Loader $e)
{
if (strpos($e->getRawMessage(), 'Looks like you try to load a template outside configured directories') === 0)
{