1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-24 03:53:15 +02:00

[ticket/11649] Fix coding style

PHPBB3-11649
This commit is contained in:
Tristan Darricau
2014-08-09 16:14:58 +02:00
parent 192b8e2568
commit 827510a418

View File

@ -44,7 +44,8 @@ class environment extends \Twig_Environment
*
* @param \phpbb\config\config $phpbb_config The phpBB configuration
* @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 \Twig_LoaderInterface $loader Twig loader interface
* @param array $options Array of options to pass to Twig
@ -75,7 +76,8 @@ class environment extends \Twig_Environment
*/
public function getLexer()
{
if (null === $this->lexer) {
if (null === $this->lexer)
{
$this->lexer = $this->container->get('template.twig.lexer');
}