Fix tests on PHP 5.4

This commit is contained in:
Romain Neutron
2012-09-27 01:46:18 +02:00
parent d4f466ef63
commit 0ac8a9d8ae
107 changed files with 196 additions and 175 deletions

View File

@@ -200,7 +200,7 @@ abstract class Feed_XML_Abstract
* @param string $tagcontent
* @return DOMElement
*/
protected function addTag(DOMDocument &$document, DOMNode &$node, $tagname, $tagcontent = null)
protected function addTag(DOMDocument $document, DOMNode $node, $tagname, $tagcontent = null)
{
$tag = $document->createElement($tagname);