Fixed wrong typehint in documentation for XmlEncoder
This commit is contained in:
parent
a45e464bc3
commit
f1a7361aae
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user