[DOC-CVS] [doc-en] master: Fix return type of streamWrapper::stream_cast

[email protected] (Niels Dossche)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Niels Dossche (nielsdos)
Date: 2025-04-29T22:47:34+02:00

Commit: https://github.com/php/doc-en/commit/821af5a8ba67e317b646a1c6b74b3229eb85c2fd
Raw diff: https://github.com/php/doc-en/commit/821af5a8ba67e317b646a1c6b74b3229eb85c2fd.diff

Fix return type of streamWrapper::stream_cast

Changed paths:
  M  reference/stream/streamwrapper/stream-cast.xml


Diff:

diff --git a/reference/stream/streamwrapper/stream-cast.xml b/reference/stream/streamwrapper/stream-cast.xml
index 86bc38a9c28f..0363b252c444 100644
--- a/reference/stream/streamwrapper/stream-cast.xml
+++ b/reference/stream/streamwrapper/stream-cast.xml
@@ -10,7 +10,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <modifier>public</modifier> <type>resource</type><methodname>streamWrapper::stream_cast</methodname>
+   <modifier>public</modifier> <type class="union"><type>resource</type><type>false</type></type><methodname>streamWrapper::stream_cast</methodname>
    <methodparam><type>int</type><parameter>cast_as</parameter></methodparam>
   </methodsynopsis>
   <para>
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.