[DOC-CVS] [doc-en] master: Update declarations.xml (#4876)
[email protected] (MorganLOCode via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
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>