Skip to content

Commit

Permalink
TASK: Adjust NodeAggregateIds::map to return a list
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Sep 24, 2024
1 parent 7331e40 commit e40ba25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function getIterator(): \Traversable
*/
public function map(\Closure $callback): array
{
return array_map($callback, $this->nodeAggregateIds);
return array_map($callback, array_values($this->nodeAggregateIds));
}

public function count(): int
Expand Down

0 comments on commit e40ba25

Please sign in to comment.