projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b44dba5
)
Fixed CS
author
Grégoire Pineau
<lyrixx@lyrixx.info>
Tue, 3 Jan 2012 17:31:08 +0000 (18:31 +0100)
committer
Grégoire Pineau
<lyrixx@lyrixx.info>
Tue, 3 Jan 2012 17:31:08 +0000 (18:31 +0100)
doc/advanced.rst
patch
|
blob
|
history
diff --git
a/doc/advanced.rst
b/doc/advanced.rst
index
53d4202
..
19a5d41
100644
(file)
--- a/
doc/advanced.rst
+++ b/
doc/advanced.rst
@@
-400,7
+400,7
@@
Now, let's see the actual code of this class::
$this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);
return new Project_Set_Node($name, $value, $lineno, $this->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)
{
parent::__construct(array('value' => $value), array('name' => $name), $lineno);
- }
+ }
public function compile(Twig_Compiler $compiler)
{