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