1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +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

@@ -33,7 +33,8 @@ class defineparser extends \Twig_TokenParser
$name = $this->parser->getExpressionParser()->parseExpression();
$capture = false;
if ($stream->test(\Twig_Token::OPERATOR_TYPE, '=')) {
if ($stream->test(\Twig_Token::OPERATOR_TYPE, '='))
{
$stream->next();
$value = $this->parser->getExpressionParser()->parseExpression();
@@ -45,7 +46,9 @@ class defineparser extends \Twig_TokenParser
}
$stream->expect(\Twig_Token::BLOCK_END_TYPE);
} else {
}
else
{
$capture = true;
$stream->expect(\Twig_Token::BLOCK_END_TYPE);