Skip to content

Commit 8ce2e9c

Browse files
committed
Revert "Avoid "use" for Attribute usage not supported in PHP < 8.0"
This reverts commit 045fcab.
1 parent 28352aa commit 8ce2e9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xml/ElementCollection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use DOMElement;
1414
use DOMNodeList;
1515
use Iterator;
16+
use ReturnTypeWillChange;
1617
use function count;
1718
use function get_class;
1819
use function sprintf;
@@ -30,7 +31,7 @@ public function __construct(DOMNodeList $nodeList) {
3031
$this->importNodes($nodeList);
3132
}
3233

33-
#[\ReturnTypeWillChange]
34+
#[ReturnTypeWillChange]
3435
abstract public function current();
3536

3637
public function next(): void {

0 commit comments

Comments
 (0)