ampache/ampache

View on GitHub
src/Repository/SongRepositoryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

Doc-block of getByAlbum contains declared return type \Ampache\Repository\list<int></int> which is incompatible with the return type array declared in the signature
Open

     * @return list<int>

Return type of getByAlbum() is undeclared type \Ampache\Repository\list<int></int>
Open

    public function getByAlbum(int $albumId, int $limit = 0): array;

Parameter $song has undeclared type \Ampache\Repository\Model\Song
Open

    public function collectGarbage(Song $song): void;

Parameter $genre has undeclared type \Ampache\Repository\Model\Tag
Open

    public function getRandomByGenre(

Parameter $catalog has undeclared type ?\Ampache\Repository\Model\Catalog
Open

    public function getByCatalog(?Catalog $catalog = null): Traversable;

Parameter $artist has undeclared type \Ampache\Repository\Model\Artist
Open

    public function getRandomByArtist(

Parameter $artist has undeclared type \Ampache\Repository\Model\Artist
Open

    public function getTopSongsByArtist(

There are no issues that match your filters.

Category
Status