diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 15:05:51 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 19:15:06 +0200 |
commit | 0d0113e6da590c113068a60864d44372a2fbccab (patch) | |
tree | 8930400497c37cf754c29a52e4034e043307967c /phpBB/phpbb/template/twig/loader.php | |
parent | e6b422517b17d0f3eb9ccf231ae0e4f5459efdf9 (diff) | |
download | forums-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.php | 6 |
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) { |