From 0a3d3c7ce169fa0d6f8cd33079eded3134843465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Wer=C5=82os?= Date: Fri, 28 Oct 2016 15:23:58 +0200 Subject: [PATCH] Fixing wrong function name in deprecation notice --- lib/Twig/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Twig/Node.php b/lib/Twig/Node.php index 60a80f3c3..f9fe958f0 100644 --- a/lib/Twig/Node.php +++ b/lib/Twig/Node.php @@ -128,7 +128,7 @@ class Twig_Node implements Twig_NodeInterface */ public function getLine() { - @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getTemplateName() instead.', E_USER_DEPRECATED); + @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getTemplateLine() instead.', E_USER_DEPRECATED); return $this->lineno; }