Fixed php doc in Twig/Extension/StringLoader

This commit is contained in:
Grégoire Pineau
2013-05-05 12:13:56 +03:00
parent 7f70bbf775
commit 95353cb0b4
+1 -1
View File
@@ -33,7 +33,7 @@ class Twig_Extension_StringLoader extends Twig_Extension
* Loads a template from a string.
*
* <pre>
* {% include template_from_string("Hello {{ name }}") }}
* {{ include(template_from_string("Hello {{ name }}")) }}
* </pre>
*
* @param Twig_Environment $env A Twig_Environment instance