Skip to content

Commit fea03e9

Browse files
authored
Merge pull request #422 from murrant/analysis-3GRxaY
Apply fixes from StyleCI
2 parents 2fd2c11 + bfaedd6 commit fea03e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Select/OsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private function sortAndFilterBySimilarity(string $term, array $items): array
4949
];
5050
}, $items);
5151

52-
usort($scored, fn($a, $b) => ($b['hasPrefix'] <=> $a['hasPrefix'])
52+
usort($scored, fn ($a, $b) => ($b['hasPrefix'] <=> $a['hasPrefix'])
5353
?: ($a['distance'] <=> $b['distance']));
5454

5555
return array_column($scored, 'item');

0 commit comments

Comments
 (0)