EscolaLMS/Core

View on GitHub
src/Repositories/Contracts/BaseRepositoryContract.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method all has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function all(array $search = [], ?int $skip = null, ?int $limit = null, array $columns = ['*'], string $orderDirection = 'asc', string $orderColumn = 'id');
Severity: Minor
Found in src/Repositories/Contracts/BaseRepositoryContract.php - About 45 mins to fix

    Method allWithOrder has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function allWithOrder(array $search = [], ?int $skip = null, ?int $limit = null, ?string $orderBy = null, string $direction = 'asc', array $columns = ['*']);
    Severity: Minor
    Found in src/Repositories/Contracts/BaseRepositoryContract.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status