mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 20:36:33 +00:00
Fixing wrong function name in deprecation notice
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ class Twig_Node implements Twig_NodeInterface
|
|||||||
*/
|
*/
|
||||||
public function getLine()
|
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;
|
return $this->lineno;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user