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:
@@ -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'))
|
||||
|
@@ -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")
|
||||
|
Reference in New Issue
Block a user