mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
ext/tidy: zend_parse_parameters_none -> ZEND_PARSE_PARAMETERS_NONE macro (#18913)
This commit is contained in:
parent
4f1b005522
commit
01c3001eb7
1 changed files with 2 additions and 6 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue