Remove unused SimpleXMLElement::children() method (#339)
This commit is contained in:
parent
752f4bf64e
commit
2fa01cd838
@ -149,22 +149,6 @@ class SimpleXMLElement
|
|||||||
return $doesElementExist ? $this->wrapSimpleXMLElement($realElement) : null;
|
return $doesElementExist ? $this->wrapSimpleXMLElement($realElement) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the immediate children.
|
|
||||||
*
|
|
||||||
* @return SimpleXMLElement[] The children
|
|
||||||
*/
|
|
||||||
public function children()
|
|
||||||
{
|
|
||||||
$children = [];
|
|
||||||
|
|
||||||
foreach ($this->simpleXMLElement->children() as $child) {
|
|
||||||
$children[] = $this->wrapSimpleXMLElement($child);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $children;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user