[doc-en] master: Update declarations.xml (#4876)
| From: | MorganLOCode via GitHub | Date: | Fri, 03 Oct 2025 15:06:03 +0000 |
| Subject: | [doc-en] master: Update declarations.xml (#4876) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22781@lists.php.net to get a copy of this message | ||
Author: MorganLOCode (MorganLOCode)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2025-10-03T10:06:01-05:00
Commit: https://github.com/php/doc-en/commit/0ece873cecfc4dacd14e8bebbec12c6e00de56a0
Raw diff: https://github.com/php/doc-en/commit/0ece873cecfc4dacd14e8bebbec12c6e00de56a0.diff
Update declarations.xml (#4876)
The bottom type can't be used in a composite type for the same (rather, dual) reason the top
type can't.
Changed paths:
M language/types/declarations.xml
Diff:
diff --git a/language/types/declarations.xml b/language/types/declarations.xml
index 285e23531bdc..7946793f928f 100644
--- a/language/types/declarations.xml
+++ b/language/types/declarations.xml
@@ -359,7 +359,7 @@ NULL
</listitem>
<listitem>
<simpara>
- Using <type>mixed</type> results in an error.
+ Using <type>mixed</type> or <type>never</type> results in an error.
</simpara>
</listitem>
<listitem>