removed PHP 5.3 specific code
authorFabien Potencier <fabien.potencier@gmail.com>
Thu, 3 Jun 2010 10:51:59 +0000 (12:51 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Thu, 3 Jun 2010 10:51:59 +0000 (12:51 +0200)
lib/Twig/Node.php

index 02efca3..9fc162d 100644 (file)
@@ -65,7 +65,7 @@ class Twig_Node implements Twig_NodeInterface, ArrayAccess, Countable, Iterator
 
     public function toXml($asDom = false)
     {
-        $dom = new \DOMDocument('1.0', 'UTF-8');
+        $dom = new DOMDocument('1.0', 'UTF-8');
         $dom->formatOutput = true;
         $dom->appendChild($xml = $dom->createElement('twig'));