1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Add PHP8-compat stub for SimpleXMLElement::current

This commit is contained in:
Matt Brown 2020-12-06 11:04:16 -05:00 committed by Daniil Gentili
parent 8bfb0412e7
commit 551a5d84ab
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -2214,3 +2214,15 @@ final class WeakReference
/** @return ?T */
public function get(): ?object;
}
class SimpleXMLElement implements \Stringable, \Countable, \RecursiveIterator
{
/** @return SimpleXMLElement */
public function current()
{
}
/** @return SimpleXMLElement|null */
public function getChildren()
{
}
}