1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Ignore nullable return DomNodeList/DomNameNodeMap::item

This commit is contained in:
Matthew Brown 2020-01-29 23:53:47 -05:00
parent 5eb2ebc508
commit 6c7d1b4e64

View File

@ -942,6 +942,7 @@ class DOMNodeList implements Traversable, Countable {
/**
* @param int $index
* @return TNode|null
* @psalm-ignore-nullable-return
*/
public function item($index) {}
}
@ -968,6 +969,7 @@ class DOMNamedNodeMap implements Traversable, Countable {
/**
* @return TNode|null
* @psalm-ignore-nullable-return
*/
public function item(int $index): ?DOMNode {}
}