mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
Fix doc block for twig_constant.
This commit is contained in:
@@ -1262,9 +1262,9 @@ function twig_include(Twig_Environment $env, $context, $template, $variables = a
|
|||||||
* from instances as well as class/global constants.
|
* from instances as well as class/global constants.
|
||||||
*
|
*
|
||||||
* @param string $constant The name of the constant.
|
* @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)
|
function twig_constant($constant, $object = null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user