From cbe00e1417b9365f475bf26d292089b127aa0444 Mon Sep 17 00:00:00 2001 From: Libert KHE Date: Wed, 6 Jun 2012 21:23:49 +0200 Subject: [PATCH] added missing comment added (closes #476) --- lib/Twig/Compiler.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lib/Twig/Compiler.php b/lib/Twig/Compiler.php index 30cba80..d03dfa0 100644 --- 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); -- 1.7.2.5