Fix: Ds\Collection extends IteratorAggregate

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1587.
This commit is contained in:
Zebulan Stanphill 2022-05-20 10:57:46 -05:00 committed by GitHub
parent 9ff98b3827
commit 12ce6e72ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,8 @@
<ooclass><classname>Ds\Collection</classname></ooclass>
<oointerface><interfacename>Traversable</interfacename></oointerface>
<oointerface><interfacename>Countable</interfacename></oointerface>
<oointerface><interfacename>IteratorAggregate</interfacename></oointerface>
<oointerface><interfacename>JsonSerializable</interfacename></oointerface>
</classsynopsisinfo>
@ -45,6 +45,29 @@
</section>
<section role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>PECL ds 1.4.0</entry>
<entry>
<classname>Collection</classname> implements
<interfacename>IteratorAggregate</interfacename> now instead of just <interfacename>Traversable</interfacename>. (This change came to the polyfill in 1.4.1.)
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>
&reference.ds.ds.entities.collection;