EscolaLMS/Core

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

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Showing 2 of 2 total issues

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

public function allInUserContextQuery(User $user, array $search = [], ?int $skip = null, ?int $limit = null, array $columns = ['*'], string $user_key = 'user_id'): Builder;
Severity: Minor
Found in src/Repositories/Contracts/UserableRepositoryContract.php - About 45 mins to fix

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

    public function allInUserContext(User $user, array $search = [], ?int $skip = null, ?int $limit = null, array $columns = ['*'], string $user_key = 'user_id');
    Severity: Minor
    Found in src/Repositories/Contracts/UserableRepositoryContract.php - About 45 mins to fix
      Category
      Status