mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/tidy: zend_parse_parameters_none -> ZEND_PARSE_PARAMETERS_NONE macro (#18913)
This commit is contained in:
@@ -67,9 +67,7 @@
|
||||
|
||||
#define TIDY_FETCH_ONLY_OBJECT \
|
||||
PHPTidyObj *obj; \
|
||||
if (zend_parse_parameters_none() != SUCCESS) { \
|
||||
RETURN_THROWS(); \
|
||||
} \
|
||||
ZEND_PARSE_PARAMETERS_NONE(); \
|
||||
obj = Z_TIDY_P(ZEND_THIS); \
|
||||
|
||||
#define TIDY_SET_DEFAULT_CONFIG(_doc) \
|
||||
@@ -1140,9 +1138,7 @@ PHP_FUNCTION(tidy_diagnose)
|
||||
/* {{{ Get release date (version) for Tidy library */
|
||||
PHP_FUNCTION(tidy_get_release)
|
||||
{
|
||||
if (zend_parse_parameters_none() != SUCCESS) {
|
||||
RETURN_THROWS();
|
||||
}
|
||||
ZEND_PARSE_PARAMETERS_NONE();
|
||||
|
||||
#ifdef HAVE_TIDYRELEASEDATE
|
||||
RETURN_STRING((const char *)tidyReleaseDate());
|
||||
|
||||
Reference in New Issue
Block a user