diff options
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 92272d270f..6875850687 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2449,7 +2449,7 @@ PHP_METHOD(ZipArchive, setMtimeName) if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|l", &name, &name_len, &mtime, &flags) == FAILURE) { - return; + RETURN_THROWS(); } ZIP_FROM_OBJECT(intern, this); @@ -2483,7 +2483,7 @@ PHP_METHOD(ZipArchive, setMtimeIndex) if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll|l", &index, &mtime, &flags) == FAILURE) { - return; + RETURN_THROWS(); } ZIP_FROM_OBJECT(intern, this); |