Skip to content

Commit

Permalink
Fix PHPDoc @extends for Collection interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill committed May 23, 2022
1 parent 43d2df3 commit b886aa4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
### Fixed
- `Collection` PHPDoc now correctly states that it extends `IteratorAggregate`, rather than just `Traversable`.

## [1.4.1] - 2022-03-09

## [1.4.0] - 2021-11-17

## [1.3.0] - 2020-10-13
### Changed
- Implement ArrayAccess consistently
Expand Down
2 changes: 1 addition & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @template-covariant TKey
* @template-covariant TValue
* @extends Traversable<TKey, TValue>
* @extends \IteratorAggregate<TKey, TValue>
*/
interface Collection extends \IteratorAggregate, \Countable, \JsonSerializable
{
Expand Down

0 comments on commit b886aa4

Please sign in to comment.