diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-09 13:14:41 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-12 18:06:45 +0200 |
| commit | 186612e4d79b82c6a1ae610293b7816078dd611c (patch) | |
| tree | a46431907f11d489f998b6b03ebae33f45039f28 /ext/intl/breakiterator | |
| parent | eef994d6211ae96b108caccd77669336f4ec46e8 (diff) | |
| download | php-git-186612e4d79b82c6a1ae610293b7816078dd611c.tar.gz | |
Improve parameter names in ext/intl
Closes GH-6309
Diffstat (limited to 'ext/intl/breakiterator')
| -rw-r--r-- | ext/intl/breakiterator/breakiterator.stub.php | 6 | ||||
| -rw-r--r-- | ext/intl/breakiterator/breakiterator_arginfo.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/intl/breakiterator/breakiterator.stub.php b/ext/intl/breakiterator/breakiterator.stub.php index fda35217df..35a57e44b9 100644 --- a/ext/intl/breakiterator/breakiterator.stub.php +++ b/ext/intl/breakiterator/breakiterator.stub.php @@ -40,10 +40,10 @@ class IntlBreakIterator implements IteratorAggregate public function getErrorMessage() {} /** @return string */ - public function getLocale(int $locale_type) {} + public function getLocale(int $type) {} /** @return IntlPartsIterator */ - public function getPartsIterator(string $key_type = IntlPartsIterator::KEY_SEQUENTIAL) {} + public function getPartsIterator(string $type = IntlPartsIterator::KEY_SEQUENTIAL) {} /** @return string|null */ public function getText() {} @@ -71,7 +71,7 @@ class IntlBreakIterator implements IteratorAggregate class IntlRuleBasedBreakIterator extends IntlBreakIterator { - public function __construct(string $rules, bool $areCompiled = false) {} + public function __construct(string $rules, bool $compiled = false) {} /** @return string|false */ public function getBinaryRules() {} diff --git a/ext/intl/breakiterator/breakiterator_arginfo.h b/ext/intl/breakiterator/breakiterator_arginfo.h index ee0d3fc27d..ec8c0c3ce7 100644 --- a/ext/intl/breakiterator/breakiterator_arginfo.h +++ b/ext/intl/breakiterator/breakiterator_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 5eeedbbb7d07b0063d7bc19842b863a2c6d6898b */ + * Stub hash: 6a121ed9817667820f05677a772781d6b788796b */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlBreakIterator_createCharacterInstance, 0, 0, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null") @@ -31,11 +31,11 @@ ZEND_END_ARG_INFO() #define arginfo_class_IntlBreakIterator_getErrorMessage arginfo_class_IntlBreakIterator_createCodePointInstance ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlBreakIterator_getLocale, 0, 0, 1) - ZEND_ARG_TYPE_INFO(0, locale_type, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlBreakIterator_getPartsIterator, 0, 0, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, key_type, IS_STRING, 0, "IntlPartsIterator::KEY_SEQUENTIAL") + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 0, "IntlPartsIterator::KEY_SEQUENTIAL") ZEND_END_ARG_INFO() #define arginfo_class_IntlBreakIterator_getText arginfo_class_IntlBreakIterator_createCodePointInstance @@ -61,7 +61,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlRuleBasedBreakIterator___construct, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, rules, IS_STRING, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, areCompiled, _IS_BOOL, 0, "false") + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compiled, _IS_BOOL, 0, "false") ZEND_END_ARG_INFO() #define arginfo_class_IntlRuleBasedBreakIterator_getBinaryRules arginfo_class_IntlBreakIterator_createCodePointInstance |
