diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 16:48:03 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 16:50:58 +0900 |
| commit | 12a7756588a20f1351e6976f0c009de5992514a9 (patch) | |
| tree | 53ee08e207fc06687d998e9ad749e425e56ee138 /crates/shirabe/src/event_dispatcher | |
| parent | 657440d01423b50153d07ebc288d9bd2fc982d52 (diff) | |
| download | php-shirabe-12a7756588a20f1351e6976f0c009de5992514a9.tar.gz php-shirabe-12a7756588a20f1351e6976f0c009de5992514a9.tar.zst php-shirabe-12a7756588a20f1351e6976f0c009de5992514a9.zip | |
feat(php-shim): implement round() shim
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/event_dispatcher')
| -rw-r--r-- | crates/shirabe/src/event_dispatcher/event_dispatcher.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/event_dispatcher/event_dispatcher.rs b/crates/shirabe/src/event_dispatcher/event_dispatcher.rs index 3ad6ad9..bd14fea 100644 --- a/crates/shirabe/src/event_dispatcher/event_dispatcher.rs +++ b/crates/shirabe/src/event_dispatcher/event_dispatcher.rs @@ -9,7 +9,7 @@ use shirabe_php_shim::{ Exception, InvalidArgumentException, LogicException, PATH_SEPARATOR, PHP_VERSION_ID, PhpMixed, RuntimeException, array_pop, array_push, array_search_in_vec, array_splice, class_exists, count_mixed, defined, file_exists, get_class, hash, implode, ini_get, is_a, is_array, - is_callable, is_object, is_string, krsort, max_i64, method_exists, preg_quote, realpath, + is_callable, is_object, is_string, krsort, max, method_exists, preg_quote, realpath, spl_autoload_functions, spl_autoload_register, spl_autoload_unregister, spl_object_hash, sprintf, str_contains, str_ends_with, str_replace, str_starts_with, strlen, strpos, strtoupper, substr, trim, @@ -763,7 +763,7 @@ impl EventDispatcher { } } - return_max = max_i64(return_max, r#return); + return_max = max(return_max, r#return); if event.is_propagation_stopped() { break; |
