From: Grégoire Pineau Date: Sun, 5 May 2013 09:13:56 +0000 (+0300) Subject: Fixed php doc in Twig/Extension/StringLoader X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=95353cb0b41cc135f2daddd48020b0263f343289;p=web%2Fkonrad%2Ftwig.git Fixed php doc in Twig/Extension/StringLoader --- 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