aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-28 15:18:22 +0900
committernsfisis <nsfisis@gmail.com>2026-06-28 15:18:22 +0900
commit3e33644e78fb03c469b556d06a4fbabaae0a57a8 (patch)
tree713d1ac736573987db639f8c2d7c882db23e1d71
parenteb372d3e0cf2bb874402bc4ddcca2bae79696249 (diff)
downloadphp-shirabe-3e33644e78fb03c469b556d06a4fbabaae0a57a8.tar.gz
php-shirabe-3e33644e78fb03c469b556d06a4fbabaae0a57a8.tar.zst
php-shirabe-3e33644e78fb03c469b556d06a4fbabaae0a57a8.zip
chore: add comment to PhpMixed
-rw-r--r--crates/shirabe-php-shim/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 0edcc89..f14a4c9 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -66,6 +66,8 @@ pub enum PhpMixed {
Array(IndexMap<String, PhpMixed>),
// TODO: consolidate Object to Array.
Object(IndexMap<String, PhpMixed>),
+ // Resources, arbitrary objects and callables are intentionally excluded. Do not add these
+ // things to this type.
}
impl serde::Serialize for PhpMixed {