Skip to content

Commit

Permalink
Revert "Avoid "use" for Attribute usage not supported in PHP < 8.0"
Browse files Browse the repository at this point in the history
This reverts commit 045fcab.
  • Loading branch information
theseer committed Mar 3, 2024
1 parent 28352aa commit 8ce2e9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xml/ElementCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use DOMElement;
use DOMNodeList;
use Iterator;
use ReturnTypeWillChange;
use function count;
use function get_class;
use function sprintf;
Expand All @@ -30,7 +31,7 @@ public function __construct(DOMNodeList $nodeList) {
$this->importNodes($nodeList);
}

#[\ReturnTypeWillChange]
#[ReturnTypeWillChange]
abstract public function current();

public function next(): void {
Expand Down

0 comments on commit 8ce2e9c

Please sign in to comment.