Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Internal/Iter/PipelineIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
* @internal
* @template-covariant T
* @template-implements Iterator<T>
* @template-implements \IteratorAggregate<mixed, T>
*/
final class PipelineIterator implements Iterator
final class PipelineIterator implements Iterator, \IteratorAggregate
{
/** @var ?Future<void> */
private ?Future $complete = null;
Expand Down
4 changes: 2 additions & 2 deletions src/Iterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
/**
* @api
* @template-covariant T
* @template-extends \IteratorAggregate<T>
* @template-extends \Traversable<mixed, T>
*/
interface Iterator extends \IteratorAggregate
interface Iterator extends \Traversable
{
public function stop(?Cancellation $cancellation = null): void;

Expand Down