From 8bb953cb651d8fb662b05110eaf38c006f88710e Mon Sep 17 00:00:00 2001 From: Mark Story Date: Fri, 11 Jan 2013 09:42:49 -0500 Subject: [PATCH] Fix doc block for twig_constant. --- lib/Twig/Extension/Core.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index 18deb81..077ac5b 100644 --- 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) { -- 1.7.2.5