Skip to content

Commit

Permalink
Fixed arginfo mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jun 26, 2024
1 parent ddf1b6e commit 6701c6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configs/yaf_config_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,11 @@ PHP_METHOD(yaf_config_simple, offsetUnset) {
if (conf->config) {
if (Z_TYPE_P(offset) == IS_STRING) {
zend_hash_del(conf->config, Z_STR_P(offset));
RETURN_TRUE;
} else if (Z_TYPE_P(offset) == IS_LONG) {
zend_hash_index_del(conf->config, Z_LVAL_P(offset));
RETURN_TRUE;
}
}

RETURN_FALSE;
return;
}
/* }}} */

Expand Down

0 comments on commit 6701c6c

Please sign in to comment.