[doc-en] master: Fix return type of streamWrapper::stream_cast
| From: | Niels Dossche | Date: | Tue, 29 Apr 2025 20:58:01 +0000 |
| Subject: | [doc-en] master: Fix return type of streamWrapper::stream_cast | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22650@lists.php.net to get a copy of this message | ||
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>