diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-10-29 15:45:46 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-30 13:21:40 +0100 |
commit | 969e7a3c8b7ee3cc51502f1ff1e751ad71fd049c (patch) | |
tree | d66acb5c6bc0aa0932085f22f7bdc76d59c151c8 /ext/intl/breakiterator/codepointiterator_methods.cpp | |
parent | 5cbe5a538c92d7d515b0270625e2f705a1c02b18 (diff) | |
download | php-git-969e7a3c8b7ee3cc51502f1ff1e751ad71fd049c.tar.gz |
Cleanup return values for Intl when parameter parsing is unsuccessful
Closes GH-4871.
Diffstat (limited to 'ext/intl/breakiterator/codepointiterator_methods.cpp')
-rw-r--r-- | ext/intl/breakiterator/codepointiterator_methods.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/breakiterator/codepointiterator_methods.cpp b/ext/intl/breakiterator/codepointiterator_methods.cpp index 62670539c5..eba0c9e8a3 100644 --- a/ext/intl/breakiterator/codepointiterator_methods.cpp +++ b/ext/intl/breakiterator/codepointiterator_methods.cpp @@ -31,7 +31,7 @@ U_CFUNC PHP_FUNCTION(cpbi_get_last_code_point) object = ZEND_THIS; if (zend_parse_parameters_none() == FAILURE) { - RETURN_FALSE; + return; } BREAKITER_METHOD_FETCH_OBJECT; |