$songs */ $songs = Song::query()->findMany($request->songs); $songs->each(fn (Song $song) => $this->authorize('access', $song)); return response()->json($interactionService->likeMany($songs, $user)); } }