Skip to content

Commit 1c5b4d0

Browse files
committed
refactor
1 parent 843d662 commit 1c5b4d0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Traits/GetWallets.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66

77
trait GetWallets
88
{
9-
private function walletsInOrder()
9+
private function walletsInOrder(): array
1010
{
1111
return array_map(
12-
function ($enumCase) {
13-
return $enumCase->value;
14-
},
12+
fn ($enumCase) => $enumCase->value,
1513
WalletEnums::cases()
1614
);
1715
}

0 commit comments

Comments
 (0)