ampache/ampache

View on GitHub
src/Repository/BookmarkRepositoryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    public function getByUser(User $user): array;

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

    public function getByUserAndComment(User $user, string $comment): array;

Doc-block of getByUser 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 getByUser() is undeclared type \Ampache\Repository\list<int></int>
Open

    public function getByUser(User $user): array;

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

    public function getByUserAndComment(User $user, string $comment): array;

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

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

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

There are no issues that match your filters.

Category
Status