Skip to content

Commit 512d7eb

Browse files
committed
Replace deprecated SplObjectStorage::detach() with offsetUnset()
1 parent b0404b8 commit 512d7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpdotnet/phd/TestRender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function run() {
1717
$this->attach($this->index);
1818
$this->reader->open($this->config->xmlFile);
1919
$this->execute($this->reader);
20-
$this->detach($this->index);
20+
$this->offsetUnset($this->index);
2121
}
2222

2323
if ($this->format !== null) {

0 commit comments

Comments
 (0)