diff --git a/src/php/types/zval.rs b/src/php/types/zval.rs index 9d5ce44..5f8cac9 100644 --- a/src/php/types/zval.rs +++ b/src/php/types/zval.rs @@ -564,7 +564,7 @@ try_into_zval_str!(String); try_into_zval_str!(&str); impl IntoZval for () { - const TYPE: DataType = DataType::Null; + const TYPE: DataType = DataType::Void; fn set_zval(self, zv: &mut Zval, _: bool) -> Result<()> { zv.set_null();