diff --git a/src/types/zval.rs b/src/types/zval.rs index cbccad759..0ccb44d1a 100644 --- a/src/types/zval.rs +++ b/src/types/zval.rs @@ -724,7 +724,7 @@ impl<'a> FromZvalMut<'a> for &'a [&'a Zval] { fn from_zval_mut(zval: &'a mut Zval) -> Option { // Check if the input Zval is an array and convert it into a slice of references - if let Some(a) = zval.array(){ + if let Some(a) = zval.array() { // Collect references to each element in the array let slice: Vec<&'a Zval> = a.values().collect(); Some(Box::leak(slice.into_boxed_slice()))