Skip to content

Commit ef93086

Browse files
authored
DOM stubs: Reference interfaces from the global namespace correctly (php#13801)
1 parent f69d540 commit ef93086

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

ext/dom/php_dom.stub.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ public function __sleep(): array {}
12181218
public function __wakeup(): void {}
12191219
}
12201220

1221-
class NodeList implements IteratorAggregate, Countable
1221+
class NodeList implements \IteratorAggregate, \Countable
12221222
{
12231223
/** @readonly */
12241224
public int $length;
@@ -1233,7 +1233,7 @@ public function getIterator(): \Iterator {}
12331233
public function item(int $index): ?Node {}
12341234
}
12351235

1236-
class NamedNodeMap implements IteratorAggregate, Countable
1236+
class NamedNodeMap implements \IteratorAggregate, \Countable
12371237
{
12381238
/** @readonly */
12391239
public int $length;
@@ -1252,7 +1252,7 @@ public function count(): int {}
12521252
public function getIterator(): \Iterator {}
12531253
}
12541254

1255-
class DTDNamedNodeMap implements IteratorAggregate, Countable
1255+
class DTDNamedNodeMap implements \IteratorAggregate, \Countable
12561256
{
12571257
/** @readonly */
12581258
public int $length;
@@ -1271,7 +1271,7 @@ public function count(): int {}
12711271
public function getIterator(): \Iterator {}
12721272
}
12731273

1274-
class HTMLCollection implements IteratorAggregate, Countable
1274+
class HTMLCollection implements \IteratorAggregate, \Countable
12751275
{
12761276
/** @readonly */
12771277
public int $length;

ext/dom/php_dom_arginfo.h

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)