Fixed wrong typehint in documentation for XmlEncoder

This commit is contained in:
Charles Sarrazin 2014-04-11 10:02:41 +02:00
parent a45e464bc3
commit f1a7361aae

View File

@ -231,11 +231,11 @@ class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, Dec
}
/**
* Parse the input DOMNode into an array.
* Parse the input DOMNode into an array or a string.
*
* @param \DOMNode $node xml to parse
*
* @return array
* @return array|string
*/
private function parseXml(\DOMNode $node)
{