mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16243] Use short array syntax
PHPBB3-16243
This commit is contained in:
parent
2e62712378
commit
71a3848240
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue