diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-02 12:34:16 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-02 12:34:16 -0500 |
| commit | 57c2d99e65ce107208db10721cff5b815ee3403c (patch) | |
| tree | fb184b62f6b88937568168e1f6bef1e31a3001a6 /phpBB/includes/template/twig/node/php.php | |
| parent | f102f609f5f0e424374aab55b8141c4e4a48b0fc (diff) | |
| download | forums-57c2d99e65ce107208db10721cff5b815ee3403c.tar forums-57c2d99e65ce107208db10721cff5b815ee3403c.tar.gz forums-57c2d99e65ce107208db10721cff5b815ee3403c.tar.bz2 forums-57c2d99e65ce107208db10721cff5b815ee3403c.tar.xz forums-57c2d99e65ce107208db10721cff5b815ee3403c.zip | |
[feature/twig] Fix indentation
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template/twig/node/php.php')
| -rw-r--r-- | phpBB/includes/template/twig/node/php.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/phpBB/includes/template/twig/node/php.php b/phpBB/includes/template/twig/node/php.php index 953cd184a7..ebf4947e48 100644 --- a/phpBB/includes/template/twig/node/php.php +++ b/phpBB/includes/template/twig/node/php.php @@ -12,21 +12,21 @@ class phpbb_template_twig_node_php extends Twig_Node /** @var Twig_Environment */ protected $environment; - public function __construct(Twig_Node_Text $text, phpbb_template_twig_environment $environment, $lineno, $tag = null) - { - $this->environment = $environment; - - parent::__construct(array('text' => $text), array(), $lineno, $tag); - } - - /** - * Compiles the node to PHP. - * - * @param Twig_Compiler A Twig_Compiler instance - */ - public function compile(Twig_Compiler $compiler) - { - $compiler->addDebugInfo($this); + public function __construct(Twig_Node_Text $text, phpbb_template_twig_environment $environment, $lineno, $tag = null) + { + $this->environment = $environment; + + parent::__construct(array('text' => $text), array(), $lineno, $tag); + } + + /** + * Compiles the node to PHP. + * + * @param Twig_Compiler A Twig_Compiler instance + */ + public function compile(Twig_Compiler $compiler) + { + $compiler->addDebugInfo($this); $config = $this->environment->get_phpbb_config(); @@ -42,5 +42,5 @@ class phpbb_template_twig_node_php extends Twig_Node $compiler ->raw($this->getNode('text')->getAttribute('data')) ; - } + } } |
