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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user