Conditions | 1 |
Paths | 1 |
Total Lines | 38 |
Code Lines | 25 |
Lines | 0 |
Ratio | 0 % |
Tests | 37 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
22 | 12 | public function getMethods(): array |
|
23 | { |
||
24 | 12 | return [ |
|
25 | 12 | 'ping.view' => static fn (): Method\V1161MethodInterface => new Method\PingMethod( |
|
26 | 12 | new ResponderFactory() |
|
27 | 12 | ), |
|
28 | 12 | 'getLicense.view' => static fn (): Method\V1161MethodInterface => new Method\GetLicenseMethod( |
|
29 | 12 | new ResponderFactory() |
|
30 | 12 | ), |
|
31 | 12 | 'getAlbum.view' => static fn (): Method\V1161MethodInterface => new Method\GetAlbumMethod( |
|
32 | 12 | new ResponderFactory() |
|
33 | 12 | ), |
|
34 | 12 | 'getAlbumList2.view' => static fn (): Method\V1161MethodInterface => new Method\GetAlbumList2Method( |
|
35 | 12 | new ResponderFactory() |
|
36 | 12 | ), |
|
37 | 12 | 'getArtists.view' => static fn (): Method\V1161MethodInterface => new Method\GetArtistsMethod( |
|
38 | 12 | new ResponderFactory() |
|
39 | 12 | ), |
|
40 | 12 | 'getCoverArt.view' => static fn (): Method\V1161MethodInterface => new Method\GetCoverArtMethod( |
|
41 | 12 | new ResponderFactory() |
|
42 | 12 | ), |
|
43 | 12 | 'getArtist.view' => static fn (): Method\V1161MethodInterface => new Method\GetArtistMethod( |
|
44 | 12 | new ResponderFactory() |
|
45 | 12 | ), |
|
46 | 12 | 'getGenres.view' => static fn (): Method\V1161MethodInterface => new Method\GetGenresMethod( |
|
47 | 12 | new ResponderFactory() |
|
48 | 12 | ), |
|
49 | 12 | 'getMusicFolders.view' => static fn (): Method\V1161MethodInterface => new Method\GetMusicFoldersMethod( |
|
50 | 12 | new ResponderFactory() |
|
51 | 12 | ), |
|
52 | 12 | 'stream.view' => static fn (): Method\V1161MethodInterface => new Method\StreamMethod( |
|
53 | 12 | new ResponderFactory() |
|
54 | 12 | ), |
|
55 | 12 | 'getStarred2.view' => static fn (): Method\V1161MethodInterface => new Method\GetStarred2Method( |
|
56 | 12 | new ResponderFactory() |
|
57 | 12 | ), |
|
58 | 12 | 'getRandomSongs.view' => static fn (): Method\V1161MethodInterface => new Method\GetRandomSongsMethod( |
|
59 | 12 | new ResponderFactory() |
|
60 | 12 | ), |
|
64 |