mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
Fixed CS
This commit is contained in:
+2
-2
@@ -400,7 +400,7 @@ Now, let's see the actual code of this class::
|
|||||||
$this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
|
$this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
|
||||||
|
|
||||||
return new Project_Set_Node($name, $value, $lineno, $this->getTag());
|
return new Project_Set_Node($name, $value, $lineno, $this->getTag());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTag()
|
public function getTag()
|
||||||
{
|
{
|
||||||
@@ -449,7 +449,7 @@ The ``Project_Set_Node`` class itself is rather simple::
|
|||||||
public function __construct($name, Twig_Node_Expression $value, $lineno)
|
public function __construct($name, Twig_Node_Expression $value, $lineno)
|
||||||
{
|
{
|
||||||
parent::__construct(array('value' => $value), array('name' => $name), $lineno);
|
parent::__construct(array('value' => $value), array('name' => $name), $lineno);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function compile(Twig_Compiler $compiler)
|
public function compile(Twig_Compiler $compiler)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user