aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src')
-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 {