From 86ef425177aa5b1585dee1c4d9779a57c7e8a8b7 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 5 Mar 2019 12:55:33 +0100 Subject: Intl: Don't separately report "bad arguments" errors zpp will be throwing for these now, don't report them in addition to that. --- ext/intl/breakiterator/codepointiterator_methods.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/intl/breakiterator/codepointiterator_methods.cpp') 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; } -- cgit v1.2.1