mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-25 08:41:53 +02:00
[feature/twig] Fix indentation
PHPBB3-11598
This commit is contained in:
parent
f102f609f5
commit
57c2d99e65
@ -29,6 +29,15 @@ class phpbb_template_twig_environment extends Twig_Environment
|
||||
/** @var array **/
|
||||
protected $namespace_look_up_order = array('__main__');
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param phpbb_config $phpbb_config
|
||||
* @param array $phpbb_extensions Array of enabled extensions (name => path)
|
||||
* @param string $phpbb_root_path
|
||||
* @param Twig_LoaderInterface $loader
|
||||
* @param array $options Array of options to pass to Twig
|
||||
*/
|
||||
public function __construct($phpbb_config, $phpbb_extensions, $phpbb_root_path, Twig_LoaderInterface $loader = null, $options = array())
|
||||
{
|
||||
$this->phpbb_config = $phpbb_config;
|
||||
@ -41,6 +50,8 @@ class phpbb_template_twig_environment extends Twig_Environment
|
||||
/**
|
||||
* Get the list of enabled phpBB extensions
|
||||
*
|
||||
* Used in EVENT node
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_phpbb_extensions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user