| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function show(Song $song) |
||
| 35 | { |
||
| 36 | return response()->json([ |
||
| 37 | 'lyrics' => $song->lyrics, |
||
| 38 | 'album_info' => $this->mediaInformationService->getAlbumInformation($song->album), |
||
| 39 | 'artist_info' => $this->mediaInformationService->getArtistInformation($song->artist), |
||
| 40 | 'youtube' => $this->youTubeService->searchVideosRelatedToSong($song), |
||
| 41 | ]); |
||
| 44 |