summaryrefslogtreecommitdiff
path: root/ext/dom/node.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-12-12 22:52:37 -0800
committerXinchen Hui <laruence@gmail.com>2015-12-12 22:52:37 -0800
commit4171a8f6c631e3c34d1d070d553e7611b5474263 (patch)
tree6363c7c317651de3cef5a6abf26b79ed849cad74 /ext/dom/node.c
parenta9026070b69a3fa836c347edac07605d8e8950c4 (diff)
downloadphp-git-4171a8f6c631e3c34d1d070d553e7611b5474263.tar.gz
Internal function argumensts cleanup (strict_types)
Diffstat (limited to 'ext/dom/node.c')
-rw-r--r--ext/dom/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/node.c b/ext/dom/node.c
index 2f35e0110b..cf119f7a48 100644
--- a/ext/dom/node.c
+++ b/ext/dom/node.c
@@ -1348,9 +1348,9 @@ PHP_FUNCTION(dom_node_clone_node)
xmlNode *n, *node;
int ret;
dom_object *intern;
- zend_long recursive = 0;
+ zend_bool recursive = 0;
- if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|l", &id, dom_node_class_entry, &recursive) == FAILURE) {
+ if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|b", &id, dom_node_class_entry, &recursive) == FAILURE) {
return;
}