Skip to content

Commit 0ed2587

Browse files
committed
CS
1 parent 56e4a00 commit 0ed2587

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Filters/SelectFilterTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ protected function formattedValues(): array
7878

7979
if (! is_array(collect($values)->first())) {
8080
return collect($values)
81-
->map(function ($label, $id) {
82-
return compact('id', 'label');
83-
})
81+
->map(fn ($label, $id) => compact('id', 'label'))
8482
->values()
8583
->all();
8684
}

0 commit comments

Comments
 (0)