fixed typo

This commit is contained in:
Fabien Potencier
2015-10-27 22:39:34 -07:00
parent babf8f80e7
commit 7220fd2d88
+1 -1
View File
@@ -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()