projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c7dafb7
)
Fix doc block for twig_constant.
author
Mark Story
<mark@mark-story.com>
Fri, 11 Jan 2013 14:42:49 +0000 (09:42 -0500)
committer
Mark Story
<mark@mark-story.com>
Fri, 11 Jan 2013 14:44:29 +0000 (09:44 -0500)
lib/Twig/Extension/Core.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Extension/Core.php
b/lib/Twig/Extension/Core.php
index
18deb81
..
077ac5b
100644
(file)
--- a/
lib/Twig/Extension/Core.php
+++ b/
lib/Twig/Extension/Core.php
@@
-1262,9
+1262,9
@@
function twig_include(Twig_Environment $env, $context, $template, $variables = a
* from instances as well as class/global constants.
*
* @param string $constant The name of the constant.
- * @param null|mixed $object The object to get the constant from.
+ * @param null|object $object The object to get the constant from.
*
- * @return mixed
+ * @return string
*/
function twig_constant($constant, $object = null)
{