diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-29 11:15:08 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-29 11:16:23 +0100 |
commit | 504f7ffdd656cca19576d54dfe94ecc800cc2a42 (patch) | |
tree | 61ef47d39a169a5010d9350a24d80b03932390b7 /ext/dom/document.c | |
parent | 312ecc69d54fc1cb5ac1b9fbccf881644434cc41 (diff) | |
download | php-git-504f7ffdd656cca19576d54dfe94ecc800cc2a42.tar.gz |
Small ext/dom cleanups
Diffstat (limited to 'ext/dom/document.c')
-rw-r--r-- | ext/dom/document.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c index ede0311b5d..8557f14cf3 100644 --- a/ext/dom/document.c +++ b/ext/dom/document.c @@ -1270,7 +1270,7 @@ PHP_METHOD(domdocument, __construct) if (!docp) { php_dom_throw_error(INVALID_STATE_ERR, 1); - RETURN_FALSE; + return; } if (encoding_len > 0) { @@ -2258,7 +2258,6 @@ PHP_METHOD(domdocument, registerNodeClass) } zend_throw_error(NULL, "Class %s is not derived from %s.", ZSTR_VAL(ce->name), ZSTR_VAL(basece->name)); - RETURN_FALSE; } /* }}} */ |