mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11649] Fix coding style
PHPBB3-11649
This commit is contained in:
parent
192b8e2568
commit
827510a418
1 changed files with 9 additions and 7 deletions
|
@ -44,7 +44,8 @@ class environment extends \Twig_Environment
|
||||||
*
|
*
|
||||||
* @param \phpbb\config\config $phpbb_config The phpBB configuration
|
* @param \phpbb\config\config $phpbb_config The phpBB configuration
|
||||||
* @param \phpbb\path_helper $path_helper phpBB path helper
|
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||||
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
|
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container The dependency injection container
|
||||||
|
* @param string $cache_path The path to the cache directory
|
||||||
* @param \phpbb\extension\manager $extension_manager phpBB extension manager
|
* @param \phpbb\extension\manager $extension_manager phpBB extension manager
|
||||||
* @param \Twig_LoaderInterface $loader Twig loader interface
|
* @param \Twig_LoaderInterface $loader Twig loader interface
|
||||||
* @param array $options Array of options to pass to Twig
|
* @param array $options Array of options to pass to Twig
|
||||||
|
@ -75,7 +76,8 @@ class environment extends \Twig_Environment
|
||||||
*/
|
*/
|
||||||
public function getLexer()
|
public function getLexer()
|
||||||
{
|
{
|
||||||
if (null === $this->lexer) {
|
if (null === $this->lexer)
|
||||||
|
{
|
||||||
$this->lexer = $this->container->get('template.twig.lexer');
|
$this->lexer = $this->container->get('template.twig.lexer');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue