mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 03:59:52 +02:00
[ticket/17151] Use Twig and short array syntax in tests
PHPBB3-17151
This commit is contained in:
@@ -17,12 +17,12 @@ class main_info
|
||||
{
|
||||
function module()
|
||||
{
|
||||
return array(
|
||||
return [
|
||||
'filename' => '\foo\bar\ucp\main_module',
|
||||
'title' => 'UCP_FOOBAR_TITLE',
|
||||
'modes' => array(
|
||||
'mode' => array('title' => 'UCP_FOOBAR_MODE', 'auth' => '', 'cat' => array('UCP_FOOBAR_TITLE')),
|
||||
),
|
||||
);
|
||||
'modes' => [
|
||||
'mode' => ['title' => 'UCP_FOOBAR_MODE', 'auth' => '', 'cat' => ['UCP_FOOBAR_TITLE']],
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user