mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
[ticket/12557] Template fixes
PHPBB3-12557
This commit is contained in:
parent
8f2395857e
commit
dfcbace621
@ -24,6 +24,7 @@ class asset
|
||||
* Constructor
|
||||
*
|
||||
* @param string $url URL
|
||||
* @param \phpbb\path_helper $path_helper Path helper object
|
||||
*/
|
||||
public function __construct($url, \phpbb\path_helper $path_helper)
|
||||
{
|
||||
|
@ -25,6 +25,8 @@ class definition
|
||||
* Get a DEFINE'd variable
|
||||
*
|
||||
* @param string $name
|
||||
* @param array $arguments
|
||||
*
|
||||
* @return mixed Null if not found
|
||||
*/
|
||||
public function __call($name, $arguments)
|
||||
|
@ -36,11 +36,10 @@ class environment extends \Twig_Environment
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param \phpbb\config\config $phpbb_config
|
||||
* @param \phpbb\path_helper
|
||||
* @param \phpbb\extension\manager
|
||||
* @param string $phpbb_root_path
|
||||
* @param \Twig_LoaderInterface $loader
|
||||
* @param \phpbb\config\config $phpbb_config The phpBB configuration
|
||||
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||
* @param \phpbb\extension\manager $extension_manager phpBB extension manager
|
||||
* @param \Twig_LoaderInterface $loader Twig loader interface
|
||||
* @param array $options Array of options to pass to Twig
|
||||
*/
|
||||
public function __construct($phpbb_config, \phpbb\path_helper $path_helper, \phpbb\extension\manager $extension_manager = null, \Twig_LoaderInterface $loader = null, $options = array())
|
||||
|
@ -162,7 +162,6 @@ class extension extends \Twig_Extension
|
||||
* (e.g. in the ACP, L_TITLE)
|
||||
* If not, we return the result of $user->lang()
|
||||
*
|
||||
* @param string $lang name
|
||||
* @return string
|
||||
*/
|
||||
function lang()
|
||||
|
Loading…
x
Reference in New Issue
Block a user