mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/xls: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL (#21278)
This commit is contained in:
@@ -703,11 +703,7 @@ PHP_METHOD(XSLTProcessor, removeParameter)
|
||||
RETURN_THROWS();
|
||||
}
|
||||
intern = Z_XSL_P(id);
|
||||
if (zend_hash_del(intern->parameter, key) == SUCCESS) {
|
||||
RETVAL_TRUE;
|
||||
} else {
|
||||
RETVAL_FALSE;
|
||||
}
|
||||
RETVAL_BOOL(zend_hash_del(intern->parameter, key) == SUCCESS);
|
||||
zend_string_release_ex(key, false);
|
||||
}
|
||||
/* }}} end XSLTProcessor::removeParameter */
|
||||
|
||||
Reference in New Issue
Block a user