minor #10692 Fixed wrong typehint in documentation for XmlEncoder (csarrazi)

This PR was merged into the 2.5-dev branch.

Discussion
----------

Fixed wrong typehint in documentation for XmlEncoder

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Method documentation correction.
See https://github.com/symfony/symfony/pull/10668#discussion_r11477618

Commits
-------

f1a7361 Fixed wrong typehint in documentation for XmlEncoder
This commit is contained in:
Fabien Potencier 2014-04-11 13:38:57 +02:00
commit a0f10d3bbf

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)
{