8000 minor #10692 Fixed wrong typehint in documentation for XmlEncoder (cs… · sandermarechal/symfony@a0f10d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0f10d3

Browse files
committed
minor symfony#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 symfony#10668 (comment) Commits ------- f1a7361 Fixed wrong typehint in documentation for XmlEncoder
2 parents a45e464 + f1a7361 commit a0f10d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Encoder/XmlEncoder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ final protected function isElementNameValid($name)
231231
}
232232

233233
/**
234-
* Parse the input DOMNode into an array.
234+
* Parse the input DOMNode into an array or a string.
235235
*
236236
* @param \DOMNode $node xml to parse
237237
*
238-
* @return array
238+
* @return array|string
239239
*/
240240
private function parseXml(\DOMNode $node)
241241
{

0 commit comments

Comments
 (0)
0