1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13838] Fix coding style

PHPBB3-13838
This commit is contained in:
Nicofuma
2015-05-14 13:32:25 +02:00
parent e4b30c474b
commit 62e13e945c
8 changed files with 22 additions and 11 deletions

View File

@@ -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'))

View File

@@ -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")