Skip to content

Commit 9507055

Browse files
zonuexeondrejmirtes
authored andcommitted
Add types for IntlPartsIterator
1 parent ca2c66c commit 9507055

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/functionMap.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5357,7 +5357,7 @@
53575357
'IntlBreakIterator::getErrorCode' => ['int'],
53585358
'IntlBreakIterator::getErrorMessage' => ['string'],
53595359
'IntlBreakIterator::getLocale' => ['string', 'locale_type'=>'string'],
5360-
'IntlBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'int'],
5360+
'IntlBreakIterator::getPartsIterator' => ['IntlPartsIterator', 'key_type='=>'IntlPartsIterator::KEY_*'],
53615361
'IntlBreakIterator::getText' => ['string'],
53625362
'IntlBreakIterator::isBoundary' => ['bool', 'offset'=>'int'],
53635363
'IntlBreakIterator::last' => ['int'],
@@ -5546,6 +5546,7 @@
55465546
'IntlIterator::next' => ['void'],
55475547
'IntlIterator::rewind' => ['void'],
55485548
'IntlIterator::valid' => ['bool'],
5549+
'IntlPartsIterator::current' => ['non-empty-string'],
55495550
'IntlPartsIterator::getBreakIterator' => ['IntlBreakIterator'],
55505551
'IntlRuleBasedBreakIterator::__construct' => ['void', 'rules'=>'string', 'areCompiled='=>'string'],
55515552
'IntlRuleBasedBreakIterator::createCharacterInstance' => ['IntlRuleBasedBreakIterator', 'locale'=>'string'],

0 commit comments

Comments
 (0)