mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Ignore nullable return DomNodeList/DomNameNodeMap::item
This commit is contained in:
parent
5eb2ebc508
commit
6c7d1b4e64
@ -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 {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user