Skip to content

Commit

Permalink
SA: Minor changes fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed May 6, 2022
1 parent c835e1c commit 0e30363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ public function get($key, $default = null): CollectionInterface
*/
public function getIterator(): Traversable
{
return $this->innerIterator->getIterator();
yield from $this->innerIterator->getIterator();
}

public function group(): CollectionInterface
Expand Down

0 comments on commit 0e30363

Please sign in to comment.