mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
CS fix
This commit is contained in:
parent
cb38be1bd2
commit
16da825c7c
@ -2695,6 +2695,7 @@ PHP_FUNCTION(register_tick_function)
|
||||
|
||||
tick_fe.calling = 0;
|
||||
tick_fe.arg_count = ZEND_NUM_ARGS();
|
||||
|
||||
if (tick_fe.arg_count < 1) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
@ -2737,8 +2738,10 @@ PHP_FUNCTION(unregister_tick_function)
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
if(!BG(user_tick_functions)) return;
|
||||
|
||||
if (!BG(user_tick_functions)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Z_TYPE_PP(function) != IS_ARRAY) {
|
||||
convert_to_string_ex(function);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user