Skip to content

Commit 31c8b2c

Browse files
committed
Fixed wrong typehint in documentation for XmlEncoder
1 parent 1abe03c commit 31c8b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)