summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/codepointiterator_methods.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-05 12:55:33 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-03-11 11:32:20 +0100
commit86ef425177aa5b1585dee1c4d9779a57c7e8a8b7 (patch)
tree27cb60d637fbfbbf0fb8be2d003db4a2008bd401 /ext/intl/breakiterator/codepointiterator_methods.cpp
parent513b76794bfa210edfdc5b478dffbcbb19747ad0 (diff)
downloadphp-git-86ef425177aa5b1585dee1c4d9779a57c7e8a8b7.tar.gz
Intl: Don't separately report "bad arguments" errors
zpp will be throwing for these now, don't report them in addition to that.
Diffstat (limited to 'ext/intl/breakiterator/codepointiterator_methods.cpp')
-rw-r--r--ext/intl/breakiterator/codepointiterator_methods.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/intl/breakiterator/codepointiterator_methods.cpp b/ext/intl/breakiterator/codepointiterator_methods.cpp
index f1dd0960e6..dac50dcab6 100644
--- a/ext/intl/breakiterator/codepointiterator_methods.cpp
+++ b/ext/intl/breakiterator/codepointiterator_methods.cpp
@@ -33,8 +33,6 @@ U_CFUNC PHP_FUNCTION(cpbi_get_last_code_point)
object = ZEND_THIS;
if (zend_parse_parameters_none() == FAILURE) {
- intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "cpbi_get_last_code_point: bad arguments", 0);
RETURN_FALSE;
}