diff options
Diffstat (limited to 'crates/shirabe/src/event_dispatcher')
| -rw-r--r-- | crates/shirabe/src/event_dispatcher/event_dispatcher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/event_dispatcher/event_dispatcher.rs b/crates/shirabe/src/event_dispatcher/event_dispatcher.rs index d9ec9306..368e2227 100644 --- a/crates/shirabe/src/event_dispatcher/event_dispatcher.rs +++ b/crates/shirabe/src/event_dispatcher/event_dispatcher.rs @@ -346,7 +346,7 @@ impl EventDispatcher { // other newly appeared prepended autoloaders should be appended instead to ensure Composer loads its classes first // PHP: spl_autoload_unregister($cb); spl_autoload_register($cb, true, $prepend); // TODO(plugin): ClassLoader detection via instanceof — currently treat all callbacks uniformly - // TODO(phase-c): `cb` is a PhpMixed holding a callable; spl_autoload_register/unregister + // TODO(php-runtime): `cb` is a PhpMixed holding a callable; spl_autoload_register/unregister // (php-shims that stay todo!()) need a typed Box<dyn Fn(&str) -> PhpMixed> callback. // Bridging requires the callable model to expose the underlying closure from PhpMixed. let _ = &cb; |
