Skip to content

Commit 53d7249

Browse files
committed
Fixup
1 parent f621e60 commit 53d7249

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/zend/globals.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ use parking_lot::{const_rwlock, RwLock, RwLockReadGuard, RwLockWriteGuard};
88
use crate::boxed::ZBox;
99
#[cfg(php82)]
1010
use crate::ffi::zend_atomic_bool_store;
11-
use crate::ffi::{_zend_executor_globals, ext_php_rs_executor_globals, _sapi_globals_struct, ext_php_rs_sapi_globals, zend_ini_entry};
11+
use crate::ffi::{
12+
_sapi_globals_struct, _zend_executor_globals, ext_php_rs_executor_globals,
13+
ext_php_rs_sapi_globals, zend_ini_entry,
14+
};
1215
use crate::types::{ZendHashTable, ZendObject};
1316

1417
/// Stores global variables used in the PHP executor.

src/zend/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ impl ZendObjectHandlers {
238238
let mut zv = Zval::new();
239239
val.get(self_, &mut zv)?;
240240

241-
if zend_is_true(&mut zv) == 1 {
241+
if zend_is_true(&zv) == 1 {
242242
return Ok(1);
243243
}
244244
}

0 commit comments

Comments
 (0)