Skip to content

Commit 68b6b98

Browse files
committed
Fix return type of DOMNodeList::index()
DOMElement was missing until php/php-src#11342 fixed the return type.
1 parent 0070ddc commit 68b6b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/dom/domnodelist/item.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<refsect1 role="description">
1111
&reftitle.description;
1212
<methodsynopsis role="DOMNodeList">
13-
<modifier>public</modifier> <type class="union"><type>DOMNode</type><type>DOMNameSpaceNode</type><type>null</type></type><methodname>DOMNodeList::item</methodname>
13+
<modifier>public</modifier> <type class="union"><type>DOMElement</type><type>DOMNode</type><type>DOMNameSpaceNode</type><type>null</type></type><methodname>DOMNodeList::item</methodname>
1414
<methodparam><type>int</type><parameter>index</parameter></methodparam>
1515
</methodsynopsis>
1616
<para>

0 commit comments

Comments
 (0)