ampache/ampache

View on GitHub
src/Repository/ShareRepositoryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

Parameter $user has undeclared type \Ampache\Repository\Model\User
Open

    public function getIdsByUser(User $user): array;

Return type of findById() is undeclared type ?\Ampache\Repository\Model\Share
Open

    public function findById(int $itemId): ?Share;

Doc-block of getIdsByUser 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>

Parameter $share has undeclared type \Ampache\Repository\Model\Share
Open

    public function registerAccess(Share $share, DateTimeInterface $date): void;

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

    public function getIdsByUser(User $user): array;

Parameter $item has undeclared type \Ampache\Repository\Model\Share
Open

    public function delete(Share $item): void;

There are no issues that match your filters.

Category
Status