1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/16955] Clean up storage and template classes

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 14:55:23 +01:00
parent 077ceba2a9
commit 60c165c3d0
13 changed files with 20 additions and 43 deletions

View File

@@ -43,9 +43,9 @@ class config extends AbstractExtension
/**
* Returns a list of global functions to add to the existing list.
*
* @return array An array of global functions
* @return \Twig\TwigFunction[] An array of global functions
*/
public function getFunctions()
public function getFunctions(): array
{
return array(
new \Twig\TwigFunction('config', array($this, 'get_config')),