src/Repository/AlbumRepositoryInterface.php
Doc-block of getByMbidGroup
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
Parameter $album
has undeclared type \Ampache\Repository\Model\Album
Open
Open
public function getArtistMap(Album $album, string $objectType): array;
- Exclude checks
Parameter $album
has undeclared type \Ampache\Repository\Model\Album
Open
Open
public function delete(
- Exclude checks
Return type of getByName()
is undeclared type \Ampache\Repository\list<int></int>
Open
Open
public function getByName(
- Exclude checks
Doc-block of getArtistMap
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
Doc-block of getByName
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 getByMbidGroup()
is undeclared type \Ampache\Repository\list<int></int>
Open
Open
public function getByMbidGroup(
- Exclude checks
Return type of getArtistMap()
is undeclared type \Ampache\Repository\list<int></int>
Open
Open
public function getArtistMap(Album $album, string $objectType): array;
- Exclude checks
The parameter $group_release_type is not named in camelCase. Open
Open
public function getAlbumByArtist(
int $artistId,
?int $catalogId = null,
bool $group_release_type = false
): array;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $group_release_type is not named in camelCase. Open
Open
public function getByArtist(
int $artistId,
?int $catalogId = null,
bool $group_release_type = false
): array;
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}