[DOC-CVS] [doc-en] master: ext/intk: Fix IntlBreakIterator::getPartsIterator() type parameter (#5624)
[email protected] (Louis-Arnaud via GitHub) Fri, 3 Jul 2026 11:40:10 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-07-03T13:40:08+02:00
Commit: https://github.com/php/doc-en/commit/0f83ceff02d7f368686fbc55b44c89ee562e3ae7
Raw diff: https://github.com/php/doc-en/commit/0f83ceff02d7f368686fbc55b44c89ee562e3ae7.diff
ext/intk: Fix IntlBreakIterator::getPartsIterator() type parameter (#5624)
The type parameter is documented as string but is an int (the
IntlPartsIterator::KEY_* constants are integers).
Changed paths:
M reference/intl/intlbreakiterator/getpartsiterator.xml
Diff:
diff --git a/reference/intl/intlbreakiterator/getpartsiterator.xml b/reference/intl/intlbreakiterator/getpartsiterator.xml
index bc6cb65480ac..27360b1ba8a7 100644
--- a/reference/intl/intlbreakiterator/getpartsiterator.xml
+++ b/reference/intl/intlbreakiterator/getpartsiterator.xml
@@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis role="IntlBreakIterator">
<modifier>public</modifier> <type>IntlPartsIterator</type><methodname>IntlBreakIterator::getPartsIterator</methodname>
- <methodparam choice="opt"><type>string</type><parameter>type</parameter><initializer><constant>IntlPartsIterator::KEY_SEQUENTIAL</constant></initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>IntlPartsIterator::KEY_SEQUENTIAL</constant></initializer></methodparam>
</methodsynopsis>
<para>