summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/php_dom.h')
-rw-r--r--ext/dom/php_dom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/php_dom.h b/ext/dom/php_dom.h
index 11ca442df2..da4d2ad01b 100644
--- a/ext/dom/php_dom.h
+++ b/ext/dom/php_dom.h
@@ -140,7 +140,7 @@ entry = zend_register_internal_class_ex(&ce, parent_ce);
#define DOM_NO_ARGS() \
if (zend_parse_parameters_none() == FAILURE) { \
- return; \
+ RETURN_THROWS(); \
}
#define DOM_NOT_IMPLEMENTED() \