Skip to content

Commit 34f18a6

Browse files
lacatoireGirgias
authored andcommitted
Replace deprecated SplObjectStorage::detach() with offsetUnset()
1 parent f662181 commit 34f18a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)