Skip to content

Commit

Permalink
Fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Mar 25, 2020
1 parent 2ebf37b commit 6df6490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Console/Descriptor/XmlDescriptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ private function getArgumentNodes(array $arguments, \DOMDocument $dom)
} elseif (\is_array($argument)) {
$argumentXML->setAttribute('type', 'collection');

foreach ($this->getArgumentNodes($argument, $dom) as $childArgumenXML) {
$argumentXML->appendChild($childArgumenXML);
foreach ($this->getArgumentNodes($argument, $dom) as $childArgumentXML) {
$argumentXML->appendChild($childArgumentXML);
}
} else {
$argumentXML->appendChild(new \DOMText($argument));
Expand Down

0 comments on commit 6df6490

Please sign in to comment.