Minor formatting cleanup

This commit is contained in:
Matt Young 2024-06-13 21:14:30 -05:00
parent 6386a204d7
commit 5a629b8cb6
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ class AuditionCacheService
public function getAuditions(): \Illuminate\Database\Eloquent\Collection public function getAuditions(): \Illuminate\Database\Eloquent\Collection
{ {
return Cache::rememberForever($this->cacheKey, function () { return Cache::rememberForever($this->cacheKey, function () {
return Audition::with(['scoringGuide.subscores'])->get()->keyBy('id'); return Audition::with(['scoringGuide.subscores'])
->orderBy('score_order')
->get()
->keyBy('id');
}); });
} }