1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

[ticket/16654] Upgrade Twig to version 3

PHPBB3-16654
This commit is contained in:
rxu
2020-12-01 13:10:45 +07:00
parent 382c7acbc8
commit 1d9f9b5ecd
14 changed files with 83 additions and 79 deletions

View File

@@ -99,9 +99,9 @@ class loader extends \Twig\Loader\FilesystemLoader
*
* {@inheritdoc}
*/
public function addPath($path, $namespace = self::MAIN_NAMESPACE)
public function addPath($path, $namespace = self::MAIN_NAMESPACE) : void
{
return parent::addPath(filesystem_helper::realpath($path), $namespace);
parent::addPath(filesystem_helper::realpath($path), $namespace);
}
/**