From 95353cb0b41cc135f2daddd48020b0263f343289 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9goire=20Pineau?= Date: Sun, 5 May 2013 12:13:56 +0300 Subject: [PATCH] Fixed php doc in Twig/Extension/StringLoader --- lib/Twig/Extension/StringLoader.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Extension/StringLoader.php b/lib/Twig/Extension/StringLoader.php index d5b881b..20f3f99 100644 --- a/lib/Twig/Extension/StringLoader.php +++ b/lib/Twig/Extension/StringLoader.php @@ -33,7 +33,7 @@ class Twig_Extension_StringLoader extends Twig_Extension * Loads a template from a string. * *
- * {% include template_from_string("Hello {{ name }}") }}
+ * {{ include(template_from_string("Hello {{ name }}")) }}
  * 
* * @param Twig_Environment $env A Twig_Environment instance -- 1.7.2.5