mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/twig] Fix indentation
PHPBB3-11598
This commit is contained in:
parent
f102f609f5
commit
57c2d99e65
16 changed files with 353 additions and 342 deletions
|
@ -29,6 +29,15 @@ class phpbb_template_twig_environment extends Twig_Environment
|
||||||
/** @var array **/
|
/** @var array **/
|
||||||
protected $namespace_look_up_order = array('__main__');
|
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())
|
public function __construct($phpbb_config, $phpbb_extensions, $phpbb_root_path, Twig_LoaderInterface $loader = null, $options = array())
|
||||||
{
|
{
|
||||||
$this->phpbb_config = $phpbb_config;
|
$this->phpbb_config = $phpbb_config;
|
||||||
|
@ -41,6 +50,8 @@ class phpbb_template_twig_environment extends Twig_Environment
|
||||||
/**
|
/**
|
||||||
* Get the list of enabled phpBB extensions
|
* Get the list of enabled phpBB extensions
|
||||||
*
|
*
|
||||||
|
* Used in EVENT node
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function get_phpbb_extensions()
|
public function get_phpbb_extensions()
|
||||||
|
|
Loading…
Add table
Reference in a new issue