summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_iterators.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/breakiterator_iterators.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/breakiterator_iterators.cpp')
-rw-r--r--ext/intl/breakiterator/breakiterator_iterators.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/intl/breakiterator/breakiterator_iterators.cpp b/ext/intl/breakiterator/breakiterator_iterators.cpp
index 9969561206..e5f5aae74b 100644
--- a/ext/intl/breakiterator/breakiterator_iterators.cpp
+++ b/ext/intl/breakiterator/breakiterator_iterators.cpp
@@ -277,8 +277,6 @@ U_CFUNC PHP_METHOD(IntlPartsIterator, getBreakIterator)
INTLITERATOR_METHOD_INIT_VARS;
if (zend_parse_parameters_none() == FAILURE) {
- intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
- "IntlPartsIterator::getBreakIterator: bad arguments", 0);
return;
}