src/Repository/WantedRepositoryInterface.php
Parameter $user
has undeclared type ?\Ampache\Repository\Model\User
Open
Open
public function findAll(?User $user = null): array;
- Exclude checks
Doc-block of getById
contains declared return type \Ampache\Repository\DatabaseRow
which is incompatible with the return type ?array
declared in the signature Open
Open
* @return null|DatabaseRow
- Exclude checks
Return type of getById()
is undeclared type \Ampache\Repository\DatabaseRow
Open
Open
public function getById(int $wantedId): ?array;
- Exclude checks
Parameter $user
has undeclared type \Ampache\Repository\Model\User
Open
Open
public function find(string $musicbrainzId, User $user): ?int;
- Exclude checks
Return type of prototype()
is undeclared type \Ampache\Repository\Model\Wanted
Open
Open
public function prototype(): Wanted;
- Exclude checks
Return type of findAll()
is undeclared type \Ampache\Repository\list<int></int>
Open
Open
public function findAll(?User $user = null): array;
- Exclude checks
Return type of findByName()
is undeclared type ?\Ampache\Repository\Model\Wanted
Open
Open
public function findByName(string $name): ?Wanted;
- Exclude checks
Doc-block of findAll
contains declared return type \Ampache\Repository\list<int></int>
which is incompatible with the return type array
declared in the signature Open
Open
* @return list<int>
- Exclude checks
Return type of findById()
is undeclared type ?\Ampache\Repository\Model\Wanted
Open
Open
public function findById(int $itemId): ?Wanted;
- Exclude checks
Parameter $user
has undeclared type ?\Ampache\Repository\Model\User
Open
Open
public function deleteByMusicbrainzId(
- Exclude checks
Return type of findByMusicBrainzId()
is undeclared type ?\Ampache\Repository\Model\Wanted
Open
Open
public function findByMusicBrainzId(string $mbid): ?Wanted;
- Exclude checks