Skip to content

Commit

Permalink
toArray() returns a list
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Dec 22, 2022
1 parent b02c971 commit 810dee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pipeline.php
Expand Up @@ -274,7 +274,7 @@ public function forEach(\Closure $forEach): void
/**
* Collects all items into an array.
*
* @return array<int, T>
* @return list<T>
*/
public function toArray(): array
{
Expand Down

0 comments on commit 810dee4

Please sign in to comment.