[DOC-CVS] [phd] master: Fix deprecation in 8.5

[email protected] (Niels Dossche via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Niels Dossche (ndossche)
Committer: GitHub (web-flow)
Pusher: ndossche
Date: 2026-01-11T12:03:21+01:00

Commit: https://github.com/php/phd/commit/b7b9b845e5109e76e011143986642780bd20753c
Raw diff: https://github.com/php/phd/commit/b7b9b845e5109e76e011143986642780bd20753c.diff

Fix deprecation in 8.5

Changed paths:
  M  render.php


Diff:

diff --git a/render.php b/render.php
index 2f1b31c2..c9600edc 100644
--- a/render.php
+++ b/render.php
@@ -116,7 +116,7 @@
     $reader->open($config->xmlFile, NULL, $readerOpts);
     $render->execute($reader);
 
-    $render->detach($format);
+    $render->offsetUnset($format);
 
     $outputHandler->v("Indexing done", VERBOSE_INDEXING);
 } else {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.