ensure that debug info are always sorted

This commit is contained in:
Fabien Potencier
2015-01-19 02:17:01 +01:00
parent e999532003
commit b7204f1922
+2
View File
@@ -231,6 +231,8 @@ class Twig_Compiler implements Twig_CompilerInterface
public function getDebugInfo() public function getDebugInfo()
{ {
ksort($this->debugInfo);
return $this->debugInfo; return $this->debugInfo;
} }