diff options
author | Nicofuma <github@nicofuma.fr> | 2015-05-14 13:32:25 +0200 |
---|---|---|
committer | Nicofuma <github@nicofuma.fr> | 2015-05-14 15:43:44 +0200 |
commit | 62e13e945c475c416c4fb9deff8f234d3508a598 (patch) | |
tree | 63054db38f4be26feae3992693a3c65ba81b22df /phpBB/phpbb/template/twig/node | |
parent | e4b30c474ba24d8bc023f5bf07b46de6ccfaee89 (diff) | |
download | forums-62e13e945c475c416c4fb9deff8f234d3508a598.tar forums-62e13e945c475c416c4fb9deff8f234d3508a598.tar.gz forums-62e13e945c475c416c4fb9deff8f234d3508a598.tar.bz2 forums-62e13e945c475c416c4fb9deff8f234d3508a598.tar.xz forums-62e13e945c475c416c4fb9deff8f234d3508a598.zip |
[ticket/13838] Fix coding style
PHPBB3-13838
Diffstat (limited to 'phpBB/phpbb/template/twig/node')
-rw-r--r-- | phpBB/phpbb/template/twig/node/definenode.php | 3 | ||||
-rw-r--r-- | phpBB/phpbb/template/twig/node/includephp.php | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/twig/node/definenode.php b/phpBB/phpbb/template/twig/node/definenode.php index 695ec4281f..c110785c4b 100644 --- a/phpBB/phpbb/template/twig/node/definenode.php +++ b/phpBB/phpbb/template/twig/node/definenode.php @@ -31,7 +31,8 @@ class definenode extends \Twig_Node { $compiler->addDebugInfo($this); - if ($this->getAttribute('capture')) { + if ($this->getAttribute('capture')) + { $compiler ->write("ob_start();\n") ->subcompile($this->getNode('value')) diff --git a/phpBB/phpbb/template/twig/node/includephp.php b/phpBB/phpbb/template/twig/node/includephp.php index 826617e8e8..659495fd9e 100644 --- a/phpBB/phpbb/template/twig/node/includephp.php +++ b/phpBB/phpbb/template/twig/node/includephp.php @@ -47,7 +47,8 @@ class includephp extends \Twig_Node return; } - if ($this->getAttribute('ignore_missing')) { + if ($this->getAttribute('ignore_missing')) + { $compiler ->write("try {\n") ->indent() @@ -76,7 +77,8 @@ class includephp extends \Twig_Node ->write("}\n") ; - if ($this->getAttribute('ignore_missing')) { + if ($this->getAttribute('ignore_missing')) + { $compiler ->outdent() ->write("} catch (\Twig_Error_Loader \$e) {\n") |