| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class ArtistListDataProvider implements ArtistListDataProviderInterface |
||
| 16 | { |
||
| 17 | public function __construct( |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return array<string> |
||
| 24 | * |
||
| 25 | * @todo implement stripping of articles (like 'the, el, los, ...') |
||
| 26 | */ |
||
| 27 | public function getIgnoredArticles(): array |
||
| 28 | { |
||
| 29 | return []; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return Generator<array{ |
||
| 34 | * id: string, |
||
| 35 | * name: string, |
||
| 36 | * coverArtId: string, |
||
| 37 | * artistImageUrl: string, |
||
| 38 | * albumCount: int, |
||
| 39 | * starred: null|DateTimeInterface |
||
| 40 | * }> |
||
| 41 | */ |
||
| 42 | public function getArtists( |
||
| 55 | ]; |
||
| 56 | } |
||
| 59 |