We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1b005 commit 01c3001Copy full SHA for 01c3001
ext/tidy/tidy.c
@@ -67,9 +67,7 @@
67
68
#define TIDY_FETCH_ONLY_OBJECT \
69
PHPTidyObj *obj; \
70
- if (zend_parse_parameters_none() != SUCCESS) { \
71
- RETURN_THROWS(); \
72
- } \
+ ZEND_PARSE_PARAMETERS_NONE(); \
73
obj = Z_TIDY_P(ZEND_THIS); \
74
75
#define TIDY_SET_DEFAULT_CONFIG(_doc) \
@@ -1140,9 +1138,7 @@ PHP_FUNCTION(tidy_diagnose)
1140
1138
/* {{{ Get release date (version) for Tidy library */
1141
1139
PHP_FUNCTION(tidy_get_release)
1142
{
1143
- if (zend_parse_parameters_none() != SUCCESS) {
1144
- RETURN_THROWS();
1145
- }
+ ZEND_PARSE_PARAMETERS_NONE();
1146
1147
#ifdef HAVE_TIDYRELEASEDATE
1148
RETURN_STRING((const char *)tidyReleaseDate());
0 commit comments