1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-30 11:40:08 +02:00

[ticket/17151] Use Twig and short array syntax in tests

PHPBB3-17151
This commit is contained in:
rxu
2023-09-11 08:56:46 +07:00
parent 69cc2a9734
commit 0ac97841cb
4 changed files with 17 additions and 17 deletions

View File

@@ -25,12 +25,12 @@ class main_info
{
function module()
{
return array(
return [
'filename' => '\foo\bar\acp\main_module',
'title' => 'ACP_FOOBAR_TITLE',
'modes' => array(
'mode' => array('title' => 'ACP_FOOBAR_MODE', 'auth' => '', 'cat' => array('ACP_FOOBAR_TITLE')),
),
);
'modes' => [
'mode' => ['title' => 'ACP_FOOBAR_MODE', 'auth' => '', 'cat' => ['ACP_FOOBAR_TITLE']],
],
];
}
}