| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class LikeController extends Controller |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Like or unlike a song. |
||
| 15 | * |
||
| 16 | * An "interaction" record including the song and current user's data will be returned. |
||
| 17 | * |
||
| 18 | * @bodyParam song string required The ID of the song. Example: 0146d01afb742b01f28ab8b556f9a75d |
||
| 19 | * |
||
| 20 | * @responseFile responses/interaction.json |
||
| 21 | * |
||
| 22 | * @return JsonResponse |
||
| 23 | */ |
||
| 24 | 1 | public function store(SongLikeRequest $request) |
|
| 29 |