Skip to content

Commit

Permalink
chore(iterable_chunk): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Jun 4, 2024
1 parent a8d257b commit 5609b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IterableObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function values(): self
return new self(new WithoutKeysTraversable($this->iterable));
}

/** @return iterable<int, array<TKey, TValue>> */
/** @return iterable<int, iterable<TKey, TValue>> */
public function chunk(int $size): iterable
{
if ($this->iterable instanceof Traversable) {
Expand Down

0 comments on commit 5609b95

Please sign in to comment.