Skip to content

Commit

Permalink
bug #2163 default implementation of getDebugInfo() for BC (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.x branch.

Discussion
----------

default implementation of getDebugInfo() for BC

eZ updated the code on their side in the meantime (see ezsystems/LegacyBridge#63), but there may be other projects doing similar things (fixes #2129 (comment)).

Commits
-------

7b4cfdb default implementation of getDebugInfo() for BC
  • Loading branch information
fabpot committed Oct 5, 2016
2 parents f00e7b8 + 7b4cfdb commit c2aaa0e
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 c2aaa0e

Please sign in to comment.