1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-04 14:47:52 +02:00

[ticket/16243] Use short array syntax

PHPBB3-16243
This commit is contained in:
Marc Alexander 2021-08-19 22:13:06 +02:00
parent 2e62712378
commit 71a3848240
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -71,12 +71,12 @@ class twig_test extends \phpbb_test_case
null,
$loader,
new \phpbb\event\dispatcher(),
array(
[
'cache' => false,
'debug' => false,
'auto_reload' => true,
'autoescape' => false,
)
]
);
$this->template = new \phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $twig, $this->user)));
$twig->setLexer(new \phpbb\template\twig\lexer($twig));