From 7220fd2d887a427cd78604ad21e8b72005e91d09 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 27 Oct 2015 22:39:34 -0700 Subject: [PATCH] fixed typo --- lib/Twig/Environment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 9a0367ea8..6ba9e4d26 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -1258,7 +1258,7 @@ class Twig_Environment { @trigger_error(sprintf('The %s method is deprecated and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED); - return Twig_Error_Syntax::getAlternatives($name, $items); + return Twig_Error_Syntax::computeAlternatives($name, $items); } protected function initGlobals()