mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 18:36:53 +00:00
bug #2163 default implementation of getDebugInfo() for BC (xabbuh)
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 https://github.com/twigphp/Twig/pull/2129#discussion_r80250969).
Commits
-------
7b4cfdb default implementation of getDebugInfo() for BC
This commit is contained in:
@@ -49,7 +49,10 @@ abstract class Twig_Template implements Twig_TemplateInterface
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
abstract public function getDebugInfo();
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the template source code.
|
||||
|
||||
Reference in New Issue
Block a user