It seems like $domNode->childNodes of type DOMNodeList is incompatible with the declared type Cion\TextToSpeech\Sources\DOMNodeList of property $_nodeList.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
29
}
30
31
/**
32
* Returns the current DOMNode.
33
* @return DOMNode
34
*/
35
public function current()
36
{
37
return $this->_nodeList->item($this->_position);
38
}
39
40
/**
41
* Returns an iterator for the current iterator entry.
42
* @return RecursiveDOMIterator
43
*/
44
public function getChildren()
45
{
46
return new self($this->current());
47
}
48
49
/**
50
* Returns if an iterator can be created for the current entry.