ampache/ampache

View on GitHub
src/Repository/PodcastRepositoryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

Return type of persist() is undeclared type \Ampache\Repository\non
Open

    public function persist(Podcast $podcast): ?int;

Saw a token Phan may have failed to parse after '* @return null|non-negative-int': after null|non, saw '-'
Open

     * @return null|non-negative-int

Return type of findByFeedUrl() is undeclared type ?\Ampache\Repository\Model\Podcast
Open

    public function findByFeedUrl(string $feedUrl): ?Podcast;

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

    public function findById(int $podcastId): ?Podcast;

Parameter $podcast has undeclared type \Ampache\Repository\Model\Podcast
Open

    public function delete(Podcast $podcast): void;

Parameter $podcast has undeclared type \Ampache\Repository\Model\Podcast
Open

    public function persist(Podcast $podcast): ?int;

Return type of prototype() is undeclared type \Ampache\Repository\Model\Podcast
Open

    public function prototype(): Podcast;

Doc-block of persist contains declared return type \Ampache\Repository\non which is incompatible with the return type ?int declared in the signature
Open

     * @return null|non-negative-int

There are no issues that match your filters.

Category
Status