mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/twig] Use correct case for variable name
PHPBB3-11598
This commit is contained in:
parent
e0f5e23032
commit
3dc40ad844
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ class phpbb_template_twig_environment extends Twig_Environment
|
|||
protected $phpbb_root_path;
|
||||
|
||||
/** @var array **/
|
||||
protected $namespaceLookUpOrder = array('__main__');
|
||||
protected $namespace_look_up_order = array('__main__');
|
||||
|
||||
public function __construct($phpbb_config, $phpbb_extensions, $phpbb_root_path, Twig_LoaderInterface $loader = null, $options = array())
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ class phpbb_template_twig_environment extends Twig_Environment
|
|||
*/
|
||||
public function getNamespaceLookUpOrder()
|
||||
{
|
||||
return $this->namespaceLookUpOrder;
|
||||
return $this->namespace_look_up_order;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -117,7 +117,7 @@ class phpbb_template_twig_environment extends Twig_Environment
|
|||
*/
|
||||
public function setNamespaceLookUpOrder($namespace)
|
||||
{
|
||||
$this->namespaceLookUpOrder = $namespace;
|
||||
$this->namespace_look_up_order = $namespace;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue