Skip to content

Commit

Permalink
default implementation of getDebugInfo() for BC
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 5, 2016
1 parent f00e7b8 commit 7b4cfdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Twig/Template.php
Expand Up @@ -49,7 +49,10 @@ abstract public function getTemplateName();
*
* @internal
*/
abstract public function getDebugInfo();
public function getDebugInfo()
{
return array();
}

/**
* Returns the template source code.
Expand Down

0 comments on commit 7b4cfdb

Please sign in to comment.