projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ca33207
)
added missing comment added (closes #476)
author
Libert KHE
<khelibert@gmail.com>
Wed, 6 Jun 2012 19:23:49 +0000 (21:23 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 14 Jun 2012 12:58:01 +0000 (14:58 +0200)
lib/Twig/Compiler.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Compiler.php
b/lib/Twig/Compiler.php
index
30cba80
..
d03dfa0
100644
(file)
--- a/
lib/Twig/Compiler.php
+++ b/
lib/Twig/Compiler.php
@@
-119,6
+119,11
@@
class Twig_Compiler implements Twig_CompilerInterface
return $this;
}
+ /**
+ * Appends an indentation to the current PHP code after compilation.
+ *
+ * @return Twig_Compiler The current compiler instance
+ */
public function addIndentation()
{
$this->source .= str_repeat(' ', $this->indentation * 4);