projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7f70bbf
)
Fixed php doc in Twig/Extension/StringLoader
author
Grégoire Pineau
<lyrixx@lyrixx.info>
Sun, 5 May 2013 09:13:56 +0000 (12:13 +0300)
committer
Grégoire Pineau
<lyrixx@lyrixx.info>
Sun, 5 May 2013 09:13:56 +0000 (12:13 +0300)
lib/Twig/Extension/StringLoader.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Extension/StringLoader.php
b/lib/Twig/Extension/StringLoader.php
index
d5b881b
..
20f3f99
100644
(file)
--- 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.
*
* <pre>
- * {% include template_from_string("Hello {{ name }}") }}
+ * {{ include(template_from_string("Hello {{ name }}")) }}
* </pre>
*
* @param Twig_Environment $env A Twig_Environment instance