Skip to content

Commit

Permalink
Update getAll method to return currencies sorted by code in ascending…
Browse files Browse the repository at this point in the history
… order.
  • Loading branch information
deeravenger committed Jan 6, 2025
1 parent 5390959 commit 28b299d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function get(Id $id): Currency
*/
public function getAll(): array
{
return $this->findAll();
return $this->findBy([], ['code' => 'ASC']);
}

/**
Expand Down

0 comments on commit 28b299d

Please sign in to comment.