Skip to content

Commit

Permalink
Make PriorityList an Iterator<TKey, TValue>, rather than just `It…
Browse files Browse the repository at this point in the history
…erator<string, TValue>`

Co-authored-by: Gary Lockett <[email protected]>
Signed-off-by: Marco Pivetta <[email protected]>
  • Loading branch information
Ocramius and Gary Lockett committed Nov 30, 2022
1 parent 42ec34f commit e82ce8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PriorityList.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* @template TKey of string
* @template TValue of mixed
* @template-implements Iterator<string, TValue>
* @template-implements Iterator<TKey, TValue>
*/
class PriorityList implements Iterator, Countable
{
Expand Down

0 comments on commit e82ce8a

Please sign in to comment.