[ticket/16382] Update Twig_Loader_Filesystem

PHPBB3-16382
This commit is contained in:
mrgoldy 2020-02-27 16:53:10 +01:00
parent 07b2046685
commit 8a040f3fbc

View file

@ -111,11 +111,11 @@ class loader extends \Twig\Loader\FilesystemLoader
}
/**
* Find the template
*
* Override for Twig_Loader_Filesystem::findTemplate to add support
* for loading from safe directories.
*/
* Find the template
*
* Override for \Twig\Loader\FilesystemLoader::findTemplate
* to add support for loading from safe directories.
*/
protected function findTemplate($name, $throw = true)
{
$name = (string) $name;