Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM stubs: Reference interfaces from the global namespace correctly #13801

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ext/dom/php_dom.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ public function __sleep(): array {}
public function __wakeup(): void {}
}

class NodeList implements IteratorAggregate, Countable
class NodeList implements \IteratorAggregate, \Countable
{
/** @readonly */
public int $length;
Expand All @@ -1233,7 +1233,7 @@ public function getIterator(): \Iterator {}
public function item(int $index): ?Node {}
}

class NamedNodeMap implements IteratorAggregate, Countable
class NamedNodeMap implements \IteratorAggregate, \Countable
{
/** @readonly */
public int $length;
Expand All @@ -1252,7 +1252,7 @@ public function count(): int {}
public function getIterator(): \Iterator {}
}

class DTDNamedNodeMap implements IteratorAggregate, Countable
class DTDNamedNodeMap implements \IteratorAggregate, \Countable
{
/** @readonly */
public int $length;
Expand All @@ -1271,7 +1271,7 @@ public function count(): int {}
public function getIterator(): \Iterator {}
}

class HTMLCollection implements IteratorAggregate, Countable
class HTMLCollection implements \IteratorAggregate, \Countable
{
/** @readonly */
public int $length;
Expand Down
18 changes: 9 additions & 9 deletions ext/dom/php_dom_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading