Skip to content

Commit

Permalink
Fix SimpleXMLIterator::current() return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed Jun 22, 2022
1 parent c0de59c commit 7960382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/extensions/simplexml.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C

public function valid(): bool {}

public function current(): ?SimpleXMLIterator {}
public function current(): SimpleXMLIterator {}

public function key(): ?string {}

Expand Down

0 comments on commit 7960382

Please sign in to comment.