ampache/ampache

View on GitHub
src/Repository/ShoutRepositoryInterface.php

Summary

Maintainability
A
0 mins
Test Coverage

Attempting to inherit Interface \Ampache\Repository\BaseRepositoryInterface defined at /code/src/Repository/BaseRepositoryInterface.php:33 as if it were a Class
Open

interface ShoutRepositoryInterface extends BaseRepositoryInterface

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

    public function persist(Shoutbox $shout): ?int;

Parameter $shout has undeclared type \Ampache\Repository\Model\Shoutbox
Open

    public function persist(Shoutbox $shout): ?int;

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

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

There are no issues that match your filters.

Category
Status