app/Repositories/SongRepository.php

Summary

Maintainability
A
2 hrs
Test Coverage

SongRepository has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class SongRepository extends Repository
{
    use Searchable;

    public const SORT_COLUMNS_NORMALIZE_MAP = [
Severity: Minor
Found in app/Repositories/SongRepository.php - About 2 hrs to fix

    Method getByGenre has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            string $genre,
            string $sortColumn,
            string $sortDirection,
            ?User $scopedUser = null,
            int $perPage = 50
    Severity: Minor
    Found in app/Repositories/SongRepository.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status